RtfSaveOptions.ExportImagesForOldReaders

RtfSaveOptions ExportImagesForOldReaders property. Specifies whether the keywords for old readers are written to RTF or not. This can significantly affect the size of the RTF document. Default value is true.

RtfSaveOptions.ExportImagesForOldReaders property

Specifies whether the keywords for “old readers” are written to RTF or not. This can significantly affect the size of the RTF document. Default value is true.

public bool ExportImagesForOldReaders { get; set; }

Remarks

“Old readers” are pre-Microsoft Word 97 applications and also WordPad. When this option is true Wordize writes additional RTF keywords. These keywords allow the document to be displayed correctly when opened in an “old reader” application, but can significantly increase the size of the document.

If you set this option to false, then only images in WMF, EMF and BMP formats will be displayed in “old readers”.

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