Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
Syntax
'Declaration
Public Property OMathJc As WdOMathJc
    Get
    Set
public WdOMathJc OMathJc { get; set; }
Property Value
Type: Microsoft.Office.Interop.Word.WdOMathJc
One of the WdOMathJc values.
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 Sub SetDefaultRightJustification()
    Me.OMathJc = Word.WdOMathJc.wdOMathJcRight
    Me.OMathRightMargin = 25
End Sub
private void SetDefaultRightJustification()
{            
    this.OMathJc = Word.WdOMathJc.wdOMathJcRight;
    this.OMathRightMargin = 25;
}
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.