HtmlOfficeMathOutputMode Enum

Wordize.Saving.HtmlOfficeMathOutputMode enum. Specifies how Wordize exports OfficeMath to HTML MHTML and EPUB.

HtmlOfficeMathOutputMode enumeration

Specifies how Wordize exports OfficeMath to HTML, MHTML and EPUB.

public enum HtmlOfficeMathOutputMode

Values

NameValueDescription
Image0OfficeMath is converted to HTML as image specified by <img> tag.
MathML1OfficeMath is converted to HTML using MathML.
Text2OfficeMath is converted to HTML as sequence of runs specified by <span> tags.

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