This documentation is archived and is not being maintained.

Document.OMathJc Property (2007 System)

Gets or sets a value that indicates the default justification—left, right, centered, or centered as a group—of a group of equations.

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

public WdOMathJc OMathJc { get; set; }

Property Value

Type: WdOMathJc
One of the WdOMathJc values.

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.

This example is for a document-level customization.

private void SetDefaultRightJustification()
    this.OMathJc = Word.WdOMathJc.wdOMathJcRight;
    this.OMathRightMargin = 25;