Using wmetafile8 in SfRichtextBoxAdv

Hi,

as of what I understood,  wmetafile8 is not supported in a RTF file using the Richtextbox.

However, I am forced to use it due to a legacy interface.


If I like to view and change the attached file (actually, it is a rtf file), is it necessary to use a different control, which is not 


Attachment: syncfusion.rtf_dae4318b.txt

1 Reply

KG Kalaivannan Ganesan Syncfusion Team October 22, 2025 05:03 AM UTC

Hi Simon,

The SfRichTextBoxAdv control supports various image formats such as BMP, JPEG, and PNG, but does not support Metafile images (EMF, WMF, vector images, etc.).

You can find more details in our documentation:
Image in WPF RichTextBox control | Syncfusion

We’ve already logged a feature request to support Metafile images. You can track and vote for it here:
Support to display metafile images in RichTextBox control in UWP | Feedback Portal

Workaround:
To handle legacy RTF files with WMF images, we recommend converting them to PNG format (preserving original size) using our DocIO control. The converted document can then be loaded into SfRichTextBoxAdv for proper display.

For implementation details, please refer to this Knowledge Base article:
How to convert and replace EMF image in word document to PNG with same size?

We’ve also prepared a sample application and a demonstration video to guide you through the process.

Let us know if you need further assistance.

Best regards,
Kalaivannan Ganesan


Attachment: SfRichTextBoxAdv_WMF_Images_3ee6463c.zip

Loader.
Up arrow icon