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 specifies the left margin for equations.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Syntax
'Declaration
Public Property OMathLeftMargin As Single
'Usage
Dim instance As Document
Dim value As Single
value = instance.OMathLeftMargin
instance.OMathLeftMargin = value
public float OMathLeftMargin { get; set; }
public:
property float OMathLeftMargin {
float get ();
void set (float value);
}
public function get OMathLeftMargin () : float
public function set OMathLeftMargin (value : float)
Property Value
Type: System.Single
A value that specifies the left margin for equations.
Examples
The following code example causes the equations in the document to be left-justified and to be positioned 25 points away from the left margin of the document.
This example is for a document-level customization.
Private Sub SetDefaultLeftJustification()
Me.OMathJc = Word.WdOMathJc.wdOMathJcLeft
Me.OMathLeftMargin = 25
End Sub
private void SetDefaultLeftJustification()
{
this.OMathJc = Word.WdOMathJc.wdOMathJcLeft;
this.OMathLeftMargin = 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.