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
Name | Value | Description |
---|---|---|
Image | 0 | OfficeMath is converted to HTML as image specified by <img> tag. |
MathML | 1 | OfficeMath is converted to HTML using MathML. |
Text | 2 | OfficeMath 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
- namespace Wordize.Saving
- assembly Wordize