DocumentBase.OMathRightMargin Property

Definition

Gets or sets a value that represents the right margin for equations.

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

Property Value

A value that specifies the right margin for equations.

Examples

The following code example causes the equations in the document to be right-justified and to be positioned 25 points away from the right margin of the document. To use this example, run it from the ThisDocument class in a document-level project.

private void SetDefaultRightJustification()
{            
    this.OMathJc = Word.WdOMathJc.wdOMathJcRight;
    this.OMathRightMargin = 25;
}
Private Sub SetDefaultRightJustification()
    Me.OMathJc = Word.WdOMathJc.wdOMathJcRight
    Me.OMathRightMargin = 25
End Sub

Applies to