OfficeMath
OfficeIMO.Drawing
Factory helpers for authoring reusable mathematical expressions.
Inheritance
- object
- OfficeMath
Methods
public static OfficeMathExpression Accent(OfficeMathExpression content, string character) #Creates accented content.
Parameters
- content OfficeIMO.Drawing.OfficeMathExpression
- character string
Returns
OfficeMathExpressionpublic static OfficeMathExpression Box(OfficeMathExpression content) #Creates boxed content.
Parameters
- content OfficeIMO.Drawing.OfficeMathExpression
Returns
OfficeMathExpressionpublic static OfficeMathExpression Delimited(OfficeMathExpression content, string left = "(", string right = ")") #Creates delimited content.
Parameters
- content OfficeIMO.Drawing.OfficeMathExpression
- left string = "("
- right string = ")"
Returns
OfficeMathExpressionpublic static OfficeMathExpression DelimiterList(string left, string right, string separator, params OfficeMathExpression[] items) #Creates multiple separated expressions inside one delimiter pair.
Parameters
- left string
- right string
- separator string
- items OfficeIMO.Drawing.OfficeMathExpression[]
Returns
OfficeMathExpressionpublic static OfficeMathExpression EquationArray(int rows, int columns, params OfficeMathExpression[] cells) #Creates an aligned equation array from row-major cells.
Parameters
- rows int
- columns int
- cells OfficeIMO.Drawing.OfficeMathExpression[]
Returns
OfficeMathExpressionpublic static OfficeMathExpression Fraction(OfficeMathExpression numerator, OfficeMathExpression denominator) #Creates a fraction.
Parameters
- numerator OfficeIMO.Drawing.OfficeMathExpression
- denominator OfficeIMO.Drawing.OfficeMathExpression
Returns
OfficeMathExpressionpublic static OfficeMathExpression Function(string name, OfficeMathExpression argument) #Creates a named function application.
Parameters
- name string
- argument OfficeIMO.Drawing.OfficeMathExpression
Returns
OfficeMathExpressionpublic static OfficeMathExpression Identifier(string text) #Creates an identifier.
Parameters
- text string
Returns
OfficeMathExpressionpublic static OfficeMathExpression LeftSubSuperscript(OfficeMathExpression basis, OfficeMathExpression subscript, OfficeMathExpression superscript) #Creates left-side combined subscript and superscript.
Parameters
- basis OfficeIMO.Drawing.OfficeMathExpression
- subscript OfficeIMO.Drawing.OfficeMathExpression
- superscript OfficeIMO.Drawing.OfficeMathExpression
Returns
OfficeMathExpressionpublic static OfficeMathExpression LowerLimit(OfficeMathExpression basis, OfficeMathExpression limit) #Creates a limit centered below a base.
Parameters
- basis OfficeIMO.Drawing.OfficeMathExpression
- limit OfficeIMO.Drawing.OfficeMathExpression
Returns
OfficeMathExpressionpublic static OfficeMathExpression Matrix(int rows, int columns, params OfficeMathExpression[] cells) #Creates a matrix from row-major cells.
Parameters
- rows int
- columns int
- cells OfficeIMO.Drawing.OfficeMathExpression[]
Returns
OfficeMathExpressionpublic static OfficeMathExpression Nary(string character, OfficeMathExpression content, OfficeMathExpression? lower = null, OfficeMathExpression? upper = null) #Creates a large operator with content and optional limits.
Parameters
- character string
- content OfficeIMO.Drawing.OfficeMathExpression
- lower OfficeIMO.Drawing.OfficeMathExpression? = null
- upper OfficeIMO.Drawing.OfficeMathExpression? = null
Returns
OfficeMathExpressionpublic static OfficeMathExpression Number(string text) #Creates a number.
Parameters
- text string
Returns
OfficeMathExpressionpublic static OfficeMathExpression Operator(string text) #Creates an operator.
Parameters
- text string
Returns
OfficeMathExpressionpublic static OfficeMathExpression Overbar(OfficeMathExpression content) #Creates content with an overbar.
Parameters
- content OfficeIMO.Drawing.OfficeMathExpression
Returns
OfficeMathExpressionpublic static OfficeMathExpression Phantom(OfficeMathExpression content) #Creates invisible content that retains layout space.
Parameters
- content OfficeIMO.Drawing.OfficeMathExpression
Returns
OfficeMathExpressionpublic static OfficeMathExpression Radical(OfficeMathExpression content) #Creates a square root.
Parameters
- content OfficeIMO.Drawing.OfficeMathExpression
Returns
OfficeMathExpressionpublic static OfficeMathExpression Radical(OfficeMathExpression content, OfficeMathExpression index) #Creates an indexed root.
Parameters
- content OfficeIMO.Drawing.OfficeMathExpression
- index OfficeIMO.Drawing.OfficeMathExpression
Returns
OfficeMathExpressionpublic static OfficeMathExpression Row(params OfficeMathExpression[] children) #Creates a horizontal sequence.
Parameters
- children OfficeIMO.Drawing.OfficeMathExpression[]
Returns
OfficeMathExpressionpublic static OfficeMathExpression SlashedFraction(OfficeMathExpression numerator, OfficeMathExpression denominator) #Creates a diagonal or skewed fraction.
Parameters
- numerator OfficeIMO.Drawing.OfficeMathExpression
- denominator OfficeIMO.Drawing.OfficeMathExpression
Returns
OfficeMathExpressionpublic static OfficeMathExpression Stack(params OfficeMathExpression[] rows) #Creates expressions stacked vertically.
Parameters
- rows OfficeIMO.Drawing.OfficeMathExpression[]
Returns
OfficeMathExpressionpublic static OfficeMathExpression StretchStack(params OfficeMathExpression[] rows) #Creates expressions stacked vertically with native stretch semantics.
Parameters
- rows OfficeIMO.Drawing.OfficeMathExpression[]
Returns
OfficeMathExpressionpublic static OfficeMathExpression Subscript(OfficeMathExpression basis, OfficeMathExpression script) #Creates a subscript.
Parameters
- basis OfficeIMO.Drawing.OfficeMathExpression
- script OfficeIMO.Drawing.OfficeMathExpression
Returns
OfficeMathExpressionpublic static OfficeMathExpression SubSuperscript(OfficeMathExpression basis, OfficeMathExpression subscript, OfficeMathExpression superscript) #Creates combined subscript and superscript.
Parameters
- basis OfficeIMO.Drawing.OfficeMathExpression
- subscript OfficeIMO.Drawing.OfficeMathExpression
- superscript OfficeIMO.Drawing.OfficeMathExpression
Returns
OfficeMathExpressionpublic static OfficeMathExpression Superscript(OfficeMathExpression basis, OfficeMathExpression script) #Creates a superscript.
Parameters
- basis OfficeIMO.Drawing.OfficeMathExpression
- script OfficeIMO.Drawing.OfficeMathExpression
Returns
OfficeMathExpressionpublic static OfficeMathExpression Text(string text) #Creates literal text.
Parameters
- text string
Returns
OfficeMathExpressionpublic static OfficeMathExpression Underbar(OfficeMathExpression content) #Creates content with an underbar.
Parameters
- content OfficeIMO.Drawing.OfficeMathExpression
Returns
OfficeMathExpressionpublic static OfficeMathExpression UpperLimit(OfficeMathExpression basis, OfficeMathExpression limit) #Creates a limit centered above a base.
Parameters
- basis OfficeIMO.Drawing.OfficeMathExpression
- limit OfficeIMO.Drawing.OfficeMathExpression
Returns
OfficeMathExpression