FixedPageSaveOptions.OptimizeOutput
FixedPageSaveOptions OptimizeOutput property. Flag indicates whether it is required to optimize output. If this flag is set redundant nested canvases and empty canvases are removed also neighbor glyphs with the same formatting are concatenated. Note The accuracy of the content display may be affected if this property is set to true. Default is false.
FixedPageSaveOptions.OptimizeOutput property
Flag indicates whether it is required to optimize output. If this flag is set redundant nested canvases and empty canvases are removed, also neighbor glyphs with the same formatting are concatenated. Note: The accuracy of the content display may be affected if this property is set to true
. Default is false
.
public bool OptimizeOutput { get; set; }
Examples
Shows how to enable output optimization.
XpsSaveOptions xpsSaveOptions = new XpsSaveOptions();
xpsSaveOptions.OptimizeOutput = true;
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "FixedPageSaveOptions.OptimizeOutput.xps", xpsSaveOptions)
.Execute();
See Also
- class FixedPageSaveOptions
- namespace Wordize.Saving
- assembly Wordize