HtmlFixedSaveOptions.FontFormat

HtmlFixedSaveOptions FontFormat property. Gets or sets HtmlFixedExportFontFormat used for font exporting. Default value is Woff.

HtmlFixedSaveOptions.FontFormat property

Gets or sets HtmlFixedExportFontFormat used for font exporting. Default value is Woff.

public HtmlFixedExportFontFormat FontFormat { get; set; }

Examples

Shows how to specify font export format in HtmlFixed format.

HtmlFixedSaveOptions htmlFixedSaveOptions = new HtmlFixedSaveOptions();
htmlFixedSaveOptions.FontFormat = HtmlFixedExportFontFormat.Ttf;

Converter.Create()
    .From(MyDir + "Simple.docx")
    .To(ArtifactsDir + "HtmlFixedSaveOptions.FontFormat.html", htmlFixedSaveOptions)
    .Execute();

See Also