Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DocumentBase.OMathRightMargin Property

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

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

public float OMathRightMargin { get; set; }

Property Value

Type: System.Single
A value that specifies the right margin for equations.

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;
}

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft