Click or drag to resize
RtfSaveOptionsExportPictureWithMetafile Property
RTF supports inclusion of JPEG, PNG, EMF, WMF, Apple PICT, Windows bitmap and OS/2 Metafile picture types. Not all of these picture types are supported in all RTF readers. When a RTF document is opened in software that does not support the picture type of an inserted picture, such picture is not displayed at all. For better compatibility with some Microsoft applications (e.g. Wordpad) two copies of the graphic are saved in the document. Graphics are saved in the applicable EMF, PNG, GIF, or JPEG format and are also converted to WMF (Windows Metafile) format. Property gets or sets the flag indicating whether to create a Windows Metafile (WMF) copy of the original picture when saving the DocumentModel instance.

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1255
Syntax
public bool ExportPictureWithMetafile { get; set; }

Property Value

Type: Boolean
to create a Windows Metafile (WMF) copy of the original picture when saving the DocumentModel instance; otherwise, .
Remarks
WARNING: If property is set to , this code will only work in a Full-Trust environment. If you attempt to run the code in a Medium-Trust enviornment, a SecurityException will be thrown.
See Also