OfficeMathExportMode

TxtSaveOptions.OfficeMathExportMode property

Specifies how OfficeMath will be written to the output file. Default value is Text.

public TxtOfficeMathExportMode OfficeMathExportMode { get; set; }

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