Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeMath

OfficeIMO.Drawing

Namespace
OfficeIMO.Drawing
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
Modifiers
static

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 required
character string required
public static OfficeMathExpression Box(OfficeMathExpression content) #

Creates boxed content.

Parameters

content OfficeIMO.Drawing.OfficeMathExpression required
public static OfficeMathExpression Delimited(OfficeMathExpression content, string left = "(", string right = ")") #

Creates delimited content.

Parameters

content OfficeIMO.Drawing.OfficeMathExpression required
left string = "(" optional
right string = ")" optional
public static OfficeMathExpression DelimiterList(string left, string right, string separator, params OfficeMathExpression[] items) #

Creates multiple separated expressions inside one delimiter pair.

Parameters

left string required
right string required
separator string required
items OfficeIMO.Drawing.OfficeMathExpression[] required
public static OfficeMathExpression EquationArray(int rows, int columns, params OfficeMathExpression[] cells) #

Creates an aligned equation array from row-major cells.

Parameters

rows int required
columns int required
cells OfficeIMO.Drawing.OfficeMathExpression[] required
public static OfficeMathExpression Fraction(OfficeMathExpression numerator, OfficeMathExpression denominator) #

Creates a fraction.

Parameters

numerator OfficeIMO.Drawing.OfficeMathExpression required
denominator OfficeIMO.Drawing.OfficeMathExpression required
public static OfficeMathExpression Function(string name, OfficeMathExpression argument) #

Creates a named function application.

Parameters

name string required
argument OfficeIMO.Drawing.OfficeMathExpression required
public static OfficeMathExpression Identifier(string text) #

Creates an identifier.

Parameters

text string required
public static OfficeMathExpression LeftSubSuperscript(OfficeMathExpression basis, OfficeMathExpression subscript, OfficeMathExpression superscript) #

Creates left-side combined subscript and superscript.

Parameters

basis OfficeIMO.Drawing.OfficeMathExpression required
subscript OfficeIMO.Drawing.OfficeMathExpression required
superscript OfficeIMO.Drawing.OfficeMathExpression required
public static OfficeMathExpression LowerLimit(OfficeMathExpression basis, OfficeMathExpression limit) #

Creates a limit centered below a base.

Parameters

basis OfficeIMO.Drawing.OfficeMathExpression required
limit OfficeIMO.Drawing.OfficeMathExpression required
public static OfficeMathExpression Matrix(int rows, int columns, params OfficeMathExpression[] cells) #

Creates a matrix from row-major cells.

Parameters

rows int required
columns int required
cells OfficeIMO.Drawing.OfficeMathExpression[] required
public 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 required
content OfficeIMO.Drawing.OfficeMathExpression required
lower OfficeIMO.Drawing.OfficeMathExpression? = null optional
upper OfficeIMO.Drawing.OfficeMathExpression? = null optional
public static OfficeMathExpression Number(string text) #

Creates a number.

Parameters

text string required
public static OfficeMathExpression Operator(string text) #

Creates an operator.

Parameters

text string required
public static OfficeMathExpression Overbar(OfficeMathExpression content) #

Creates content with an overbar.

Parameters

content OfficeIMO.Drawing.OfficeMathExpression required
public static OfficeMathExpression Phantom(OfficeMathExpression content) #

Creates invisible content that retains layout space.

Parameters

content OfficeIMO.Drawing.OfficeMathExpression required
Radical 2 overloads
public static OfficeMathExpression Radical(OfficeMathExpression content) #

Creates a square root.

Parameters

content OfficeIMO.Drawing.OfficeMathExpression required
public static OfficeMathExpression Radical(OfficeMathExpression content, OfficeMathExpression index) #

Creates an indexed root.

Parameters

content OfficeIMO.Drawing.OfficeMathExpression required
index OfficeIMO.Drawing.OfficeMathExpression required
public static OfficeMathExpression Row(params OfficeMathExpression[] children) #

Creates a horizontal sequence.

Parameters

children OfficeIMO.Drawing.OfficeMathExpression[] required
public static OfficeMathExpression SlashedFraction(OfficeMathExpression numerator, OfficeMathExpression denominator) #

Creates a diagonal or skewed fraction.

Parameters

numerator OfficeIMO.Drawing.OfficeMathExpression required
denominator OfficeIMO.Drawing.OfficeMathExpression required
public static OfficeMathExpression Stack(params OfficeMathExpression[] rows) #

Creates expressions stacked vertically.

Parameters

rows OfficeIMO.Drawing.OfficeMathExpression[] required
public static OfficeMathExpression StretchStack(params OfficeMathExpression[] rows) #

Creates expressions stacked vertically with native stretch semantics.

Parameters

rows OfficeIMO.Drawing.OfficeMathExpression[] required
public static OfficeMathExpression Subscript(OfficeMathExpression basis, OfficeMathExpression script) #

Creates a subscript.

Parameters

basis OfficeIMO.Drawing.OfficeMathExpression required
script OfficeIMO.Drawing.OfficeMathExpression required
public static OfficeMathExpression SubSuperscript(OfficeMathExpression basis, OfficeMathExpression subscript, OfficeMathExpression superscript) #

Creates combined subscript and superscript.

Parameters

basis OfficeIMO.Drawing.OfficeMathExpression required
subscript OfficeIMO.Drawing.OfficeMathExpression required
superscript OfficeIMO.Drawing.OfficeMathExpression required
public static OfficeMathExpression Superscript(OfficeMathExpression basis, OfficeMathExpression script) #

Creates a superscript.

Parameters

basis OfficeIMO.Drawing.OfficeMathExpression required
script OfficeIMO.Drawing.OfficeMathExpression required
public static OfficeMathExpression Text(string text) #

Creates literal text.

Parameters

text string required
public static OfficeMathExpression Underbar(OfficeMathExpression content) #

Creates content with an underbar.

Parameters

content OfficeIMO.Drawing.OfficeMathExpression required
public static OfficeMathExpression UpperLimit(OfficeMathExpression basis, OfficeMathExpression limit) #

Creates a limit centered above a base.

Parameters

basis OfficeIMO.Drawing.OfficeMathExpression required
limit OfficeIMO.Drawing.OfficeMathExpression required