Aspose::Words::Saving::MarkdownOfficeMathExportMode enum

MarkdownOfficeMathExportMode enum

Specifies how Aspose.Words exports OfficeMath to Markdown.

enum class MarkdownOfficeMathExportMode

Values

NameValueDescription
Text0Export OfficeMath as plain text.
Image1Export OfficeMath as image.
MathML2Export 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