| TextRangeLinearize Method |
(TOM 2 only)
Translates the built-up math, ruby, and other inline objects in this range to linearized form.
Namespace: TextObjectModelAssembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax public void Linearize(
[OptionalAttribute] MathLinearizeFlags options
)
Public Sub Linearize (
<OptionalAttribute> options As MathLinearizeFlags
)
public:
void Linearize(
[OptionalAttribute] MathLinearizeFlags options
)
Parameters
- options (Optional)
- Type: TextObjectModelMathLinearizeFlags
Combination of MathLinearizeFlags flags.
Exceptions Examples
The following example demonstrates how to build-down (linearize) math text:
void LinearizeExample(TextRange range) {
range.Text = @"f(x)=(sin a)/(cos b)";
range.BuildUpMath();
Console.WriteLine("Built-up form: {0}", range.Text);
range.Linearize();
Console.WriteLine("Linear form: {0}", range.Text);
}
See Also