I'm trying to build a native editor in which i have a rich edit box in which i insert an image. I'm able to resize the image from the editor, how can I disable resizing. Al
so how can i get the inserted image back.
UWP RichEditBox disable image resize
306 views Asked by Saravana Kumar At
1
If you want to keep image original size and insert to
RichEditBox, you could get the imagePixelWidthandPixelHeightvalue withBitmapImagelike the follow.Derive from this case reply, you could parse picture data from your selected rtf text. Then use regular expression to filter available data. The follow is a complete code that you could use directly.