HtmlSaveOptions.OfficeMathOutputMode

HtmlSaveOptions OfficeMathOutputMode property. Controls how OfficeMath objects are exported to HTML MHTML or EPUB. Default value is Image.

HtmlSaveOptions.OfficeMathOutputMode property

Controls how OfficeMath objects are exported to HTML, MHTML or EPUB. Default value is Image.

public HtmlOfficeMathOutputMode OfficeMathOutputMode { get; set; }

Examples

Shows how to export office math objects as text to HTML.

HtmlSaveOptions htmlSaveOptions = new HtmlSaveOptions();
htmlSaveOptions.OfficeMathOutputMode = HtmlOfficeMathOutputMode.Text;

Converter.Create()
    .From(MyDir + "Simple.docx")
    .To(ArtifactsDir + "HtmlSaveOptions.OfficeMathOutputMode.html", htmlSaveOptions)
    .Execute();

See Also