DocumentBase.OMathWrap Property
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)
Syntax
'Declaration
Public Property OMathWrap As Single
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.
Remarks
A value of -1 specifies that the continuation of the equation is right-aligned. All positive values indicate the indent from the left margin.
Examples
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 Sub SetNewLineIndentation()
Me.OMathWrap = 20
End Sub
private void SetNewLineIndentation()
{
this.OMathWrap = 20;
}
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.