HtmlFixedSaveOptions.UseTargetMachineFonts
HtmlFixedSaveOptions UseTargetMachineFonts property. Flag indicates whether fonts from target machine must be used to display the document. If this flag is set to true FontFormat and ExportEmbeddedFonts properties do not have effect. Default is false.
HtmlFixedSaveOptions.UseTargetMachineFonts property
Flag indicates whether fonts from target machine must be used to display the document. If this flag is set to true
, FontFormat
and ExportEmbeddedFonts
properties do not have effect. Default is false
.
public bool UseTargetMachineFonts { get; set; }
Examples
Shows how to specify whether fonts from target machine must be used to display the HtmlFixed document.
HtmlFixedSaveOptions htmlFixedSaveOptions = new HtmlFixedSaveOptions();
htmlFixedSaveOptions.UseTargetMachineFonts = true;
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "HtmlFixedSaveOptions.UseTargetMachineFonts.html", htmlFixedSaveOptions)
.Execute();
See Also
- class HtmlFixedSaveOptions
- namespace Wordize.Saving
- assembly Wordize