RtfSaveOptionsExportImagesForOldReaders Property |
Namespace: Aspose.Words.Saving
"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".
// Open a document with images 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 = true }; doc.Save(ArtifactsDir + "RtfSaveOptions.ExportImages.rtf", options);