RtfSaveOptions.SaveImagesAsWmf
RtfSaveOptions SaveImagesAsWmf property. When true all images will be saved as WMF.
RtfSaveOptions.SaveImagesAsWmf property
When true
all images will be saved as WMF.
public bool SaveImagesAsWmf { get; set; }
Remarks
This option might help to avoid WordPad warning messages.
Examples
Shows how to configure exporting document to RTF.
RtfSaveOptions rtfSaveOptions = new RtfSaveOptions();
rtfSaveOptions.ExportCompactSize = true;
rtfSaveOptions.ExportImagesForOldReaders = false;
rtfSaveOptions.SaveImagesAsWmf = true;
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "RtfSaveOptions.rtf", rtfSaveOptions)
.Execute();
See Also
- class RtfSaveOptions
- namespace Wordize.Saving
- assembly Wordize