Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordMathMarkup

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Source revision
12511d2fa560 with working tree changes
Modifiers
static

Converts between Word's native OMML and the reusable OfficeIMO math expression tree.

Inheritance

  • object
  • WordMathMarkup

Methods

FromOmml 2 overloads
public static OfficeMathExpression FromOmml(string omml) #

Parses an inline or display OMML fragment into the reusable math expression tree.

Parameters

omml string required

Returns

OfficeMathExpression
public static OfficeMathExpression FromOmml(string omml, int maximumDepth) #

Parses OMML with a hard nesting-depth limit.

Parameters

omml string required
maximumDepth int required

Returns

OfficeMathExpression
public static string ToOmml(OfficeMathExpression expression, bool display = false) #

Serializes a shared expression as inline m:oMath or display m:oMathPara markup.

Parameters

expression OfficeIMO.Drawing.OfficeMathExpression required
display bool = false optional

Returns

string