Expand Minimize
This topic has not yet been rated - Rate this topic

DocumentBase.OMathWrap Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets a value that specifies the placement of the second line of an equation that wraps to a new line.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
public float OMathWrap { get; set; }

Property Value

Type: System.Single
A value that specifies the placement of the second line of an equation that wraps to a new line.

A value of -1 specifies that the continuation of the equation is right-aligned. All positive values indicate the indent from the left margin.

The following code example sets the OMathWrap property to a value that indents the new lines of an equation 20 points relative to the left margin. To use this example, run it from the ThisDocument class in a document-level project.

private void SetNewLineIndentation()
{
    this.OMathWrap = 20;            
}
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.