HtmlOfficeMathOutputMode Enumeration |
Specifies how Aspose.Words exports OfficeMath to HTML, MHTML and EPUB.
Namespace:
Aspose.Words.Saving
Assembly:
Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntaxpublic enum HtmlOfficeMathOutputMode
Public Enumeration HtmlOfficeMathOutputMode
public enum class HtmlOfficeMathOutputMode
type HtmlOfficeMathOutputMode
Members
| Member 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.
|
ExamplesShows how to control the way how OfficeMath objects are exported to .html.
Document doc = new Document(MyDir + "Office math.docx");
HtmlSaveOptions options = new HtmlSaveOptions();
options.OfficeMathOutputMode = HtmlOfficeMathOutputMode.Image;
doc.Save(ArtifactsDir + "HtmlSaveOptions.OfficeMathOutputMode.html", options);
See Also