MathematicalText

MathematicalText()

Default constructor (create String.Empty Value)

public MathematicalText()

Examples

Example:

[C#]
MathematicalText mathText = new MathematicalText();

See Also


MathematicalText(char)

Create MathText with single symbol

public MathematicalText(char mathSymbol)
ParameterTypeDescription
mathSymbolCharsingle symbol

Examples

Example:

[C#]
MathematicalText mathText = new MathematicalText('$');

See Also


MathematicalText(string)

Create MathematicalText from text

public MathematicalText(string mathText)
ParameterTypeDescription
mathTextStringtext value

Examples

Example:

[C#]
MathematicalText mathText = new MathematicalText("x+y");

See Also


MathematicalText(string, IPortionFormat)

Create MathematicalText from text and format settings

public MathematicalText(string mathText, IPortionFormat portionFormat)
ParameterTypeDescription
mathTextStringtext value
portionFormatIPortionFormattext format settings

Examples

Example:

[C#]
IPortionFormat format = new PortionFormat() { FontHeight = 12 };
MathematicalText mathText = new MathematicalText("x+y", format);

See Also