Hello,
My development team is currently evaluating the trial version of the RichTextBox to find out whether or not it will meet our current application requirements, one of which is pasting images. Our users often take screenshots using an application called SnagIt and they need to be able to paste those screenshots into the editor.
We are encountering some issues when pasting PNG images, but the behavior varies depending on the source of the image. If we use Microsoft's Snipping Tool to take the screenshot, it pastes into the editor successfully. However, if we use SnagIt, or even open an image in Microsoft Paint and then try to copy and paste it, the cursor in the textbox moves as if an image was pasted, but no image is displayed. The area where the image should be is a white box.
We have done no customization of the RichTextBox or anything. All I did was simply drag the control from the Visual Studio Toolbox onto the WPF canvas.
I have not seen any other posts where anyone has encountered this same issue. I'm hoping someone has perhaps noticed this same issue before, or to bring it to the attention of the developers as a potential bug that needs to be fixed. I've attached an image showing how the editor looks exhibiting successful pasting behavior and the unsuccessful behavior.
Thanks,
Frank
My development team is currently evaluating the trial version of the RichTextBox to find out whether or not it will meet our current application requirements, one of which is pasting images. Our users often take screenshots using an application called SnagIt and they need to be able to paste those screenshots into the editor.
We are encountering some issues when pasting PNG images, but the behavior varies depending on the source of the image. If we use Microsoft's Snipping Tool to take the screenshot, it pastes into the editor successfully. However, if we use SnagIt, or even open an image in Microsoft Paint and then try to copy and paste it, the cursor in the textbox moves as if an image was pasted, but no image is displayed. The area where the image should be is a white box.
We have done no customization of the RichTextBox or anything. All I did was simply drag the control from the Visual Studio Toolbox onto the WPF canvas.
I have not seen any other posts where anyone has encountered this same issue. I'm hoping someone has perhaps noticed this same issue before, or to bring it to the attention of the developers as a potential bug that needs to be fixed. I've attached an image showing how the editor looks exhibiting successful pasting behavior and the unsuccessful behavior.
Thanks,
Frank