TxtOfficeMathExportMode

TxtOfficeMathExportMode enumeration

Specifies how Aspose.Words exports OfficeMath to Text.

public enum TxtOfficeMathExportMode

Values

NameValueDescription
Text0Export OfficeMath as plain text.
Latex3Export OfficeMath as LaTeX.

Examples

Shows how to export OfficeMath object as Latex in TXT.

Document doc = new Document(MyDir + "Office math.docx");

TxtSaveOptions saveOptions = new TxtSaveOptions();
saveOptions.OfficeMathExportMode = TxtOfficeMathExportMode.Latex;

doc.Save(ArtifactsDir + "TxtSaveOptions.ExportOfficeMathAsLatexToText.txt", saveOptions);

See Also