RtfSaveOptions.ExportCompactSize
RtfSaveOptions ExportCompactSize property. Allows to make output RTF documents smaller in size but if they contain RTL righttoleft text it will not be displayed correctly. Default value is false.
RtfSaveOptions.ExportCompactSize property
Allows to make output RTF documents smaller in size, but if they contain RTL (right-to-left) text, it will not be displayed correctly. Default value is false
.
public bool ExportCompactSize { get; set; }
Remarks
If the document that you want to convert to RTF using Wordize does not contain right-to-left text in languages like Arabic, then you can set this option to true
to reduce the size of the resulting RTF.
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