Click or drag to resize
TextRangeBuildUpMath Method
(TOM 2 only) Converts the linear-format math in a range to a built-up form, or modifies the current built-up form.

Namespace: TextObjectModel
Assembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax
public void BuildUpMath(
	[OptionalAttribute] MathBuildUpFlags options
)

Parameters

options (Optional)
Type: TextObjectModelMathBuildUpFlags
Combination of MathBuildUpFlags flags.
Exceptions
ExceptionCondition
NotSupportedException The underlying COM object does not implement the ITextRange2 interface.
NotImplementedException The TOM implementation used by the range does not support math.
Examples
The following example demonstrates how to build-up math text from a linear format:
C#
void BuildUpMathExample(TextRange range) {
    range.Text = @"f(x)=(sin a)/(cos b)";
    range.BuildUpMath();
    Console.WriteLine(range.Text);
}
See Also