Freigeben über


DocumentBase.OMathWrap Property

Definition

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

public:
 property float OMathWrap { float get(); void set(float value); };
public float OMathWrap { get; set; }
member this.OMathWrap : single with get, set
Public Property OMathWrap As Single

Property Value

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

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 void SetNewLineIndentation()
{
    this.OMathWrap = 20;            
}
Private Sub SetNewLineIndentation()
    Me.OMathWrap = 20
End Sub

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.

Applies to