Compartir a través de


DocumentBase.OMathRightMargin (Propiedad)

Obtiene o establece un valor que representa el margen derecho de las ecuaciones.

Espacio de nombres:  Microsoft.Office.Tools.Word
Ensamblado:  Microsoft.Office.Tools.Word.v4.0.Utilities (en Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

Sintaxis

'Declaración
Public Property OMathRightMargin As Single
public float OMathRightMargin { get; set; }

Valor de propiedad

Tipo: System.Single
Valor que especifica el margen derecho de las ecuaciones.

Ejemplos

En el ejemplo de código siguiente, las ecuaciones del documento se justifican a la derecha y se colocan 25 puntos fuera del margen derecho del documento.Para usar este ejemplo, ejecútelo desde la clase ThisDocument en un proyecto de nivel de documento.

Private Sub SetDefaultRightJustification()
    Me.OMathJc = Word.WdOMathJc.wdOMathJcRight
    Me.OMathRightMargin = 25
End Sub
private void SetDefaultRightJustification()
{            
    this.OMathJc = Word.WdOMathJc.wdOMathJcRight;
    this.OMathRightMargin = 25;
}

Seguridad de .NET Framework

Vea también

Referencia

DocumentBase Clase

Microsoft.Office.Tools.Word (Espacio de nombres)