I tried pasting in a 4500x3250 image into the RichTextBox, and it crashes. The RichTextBox declared as follows:
```
<toolkit:RichTextBox x:Name="richTextBox"
Grid.Row="1"
Grid.ColumnSpan="2"
Margin="10"
MaxHeight="345"
ScrollViewer.VerticalScrollBarVisibility="Auto"
Text="{Binding CurrentlySelectedNotePage.TextInRTF}">
<toolkit:RichTextBoxFormatBarManager.FormatBar>
<toolkit:RichTextBoxFormatBar />
</toolkit:RichTextBoxFormatBarManager.FormatBar>
</toolkit:RichTextBox>
```
If I try to paste the same image into a standard System.Windows.Controls.RichTextBox, the paste is successful.
And if it isn't possible to paste larger images into the WPF Toolkit RichTextBox, then maybe there should be a more elegant way of handling this?
Comments: ** Comment from web user: BoucherS **
```
<toolkit:RichTextBox x:Name="richTextBox"
Grid.Row="1"
Grid.ColumnSpan="2"
Margin="10"
MaxHeight="345"
ScrollViewer.VerticalScrollBarVisibility="Auto"
Text="{Binding CurrentlySelectedNotePage.TextInRTF}">
<toolkit:RichTextBoxFormatBarManager.FormatBar>
<toolkit:RichTextBoxFormatBar />
</toolkit:RichTextBoxFormatBarManager.FormatBar>
</toolkit:RichTextBox>
```
If I try to paste the same image into a standard System.Windows.Controls.RichTextBox, the paste is successful.
And if it isn't possible to paste larger images into the WPF Toolkit RichTextBox, then maybe there should be a more elegant way of handling this?
Comments: ** Comment from web user: BoucherS **
Hi,
I removed the Text Property binding from your snipet and pasted a 4500x3250 image in this RichTextBox without any exceptions in Toolkit v2.9, v3.0 and v3.1. It took some time to paste, but worked good. What version of the Toolkit are you using, What version of Windows are you using ? Do you have the Toolkit for .NET 4.0 ?
The Toolkit's RichTextBox derives from System.Windows.Controls.RichTextBox, so there shouldn't be a big difference.