DocumentBase.OMathRightMargin Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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