Aspose::Words::Saving::MarkdownOfficeMathExportMode enum
MarkdownOfficeMathExportMode enum
Specifies how Aspose.Words exports OfficeMath to Markdown.
enum class MarkdownOfficeMathExportMode
Values
Name | Value | Description |
---|---|---|
Text | 0 | Export OfficeMath as plain text. |
Image | 1 | Export OfficeMath as image. |
MathML | 2 | Export OfficeMath as MathML. |
Examples
Shows how OfficeMath will be written to the document.
auto doc = System::MakeObject<Aspose::Words::Document>(get_MyDir() + u"Office math.docx");
auto saveOptions = System::MakeObject<Aspose::Words::Saving::MarkdownSaveOptions>();
saveOptions->set_OfficeMathExportMode(Aspose::Words::Saving::MarkdownOfficeMathExportMode::Image);
doc->Save(get_ArtifactsDir() + u"MarkdownSaveOptions.OfficeMathExportMode.md", saveOptions);
See Also
- Namespace Aspose::Words::Saving
- Library Aspose.Words for C++