RtfSaveOptionsExportImagesForOldReaders 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.

Namespace:  Aspose.Words.Saving
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.11.0


public bool ExportImagesForOldReaders { get; set; }

Property Value

Type: Boolean


"Old readers" are pre-Microsoft Word 97 applications and also WordPad. When this option is true Aspose.Words 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".


Shows how to save a document to .rtf with custom options.
Document doc = new Document(MyDir + "Rendering.docx");

// Configure a RtfSaveOptions instance to make our output document more suitable for older devices
RtfSaveOptions options = new RtfSaveOptions
    SaveFormat = SaveFormat.Rtf,
    ExportCompactSize = true,
    ExportImagesForOldReaders = doExportImagesForOldReaders

doc.Save(ArtifactsDir + "RtfSaveOptions.ExportImages.rtf", options);

ExpandedSee Also