Compartir a través de


RightMargin Class

Right Margin.When the object is serialized out as xml, its qualified name is m:rMargin.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Math.TwipsMeasureType
        DocumentFormat.OpenXml.Math.RightMargin

Namespace:  DocumentFormat.OpenXml.Math
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class RightMargin _
    Inherits TwipsMeasureType
'Usage
Dim instance As RightMargin
public class RightMargin : TwipsMeasureType

Remarks

[ISO/IEC 29500-1 1st Edition]

22.1.2.90 rMargin (Right Margin)

This element specifies the right margin for math, in twips. If this element is omitted, no right margin is used. In other words, when the element is absent, the default value of the option is 0. When the element is present and the val attribute is absent, the default of the val attribute is 1440 (or 1 inch).Math margins are added to the paragraph settings for margins. If the sum of lMargin and rMargin exceed the width available, lMargin should be ignored. If rMargin exceeds the width available, a default indent of 1440 twips should be used. [Example: The following XML demonstrates an rmargin setting of 1".

<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="0"/>
<m:dispDef/>
  <m:lMargin m:val="0"/>
<m:rMargin m:val="1440"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr>

end example]

Parent Elements

mathPr (§22.1.2.62)

Attributes

Description

val (Value)

Specifies the value, in twips, of the parent element.

The possible values for this attribute are defined by the ST_TwipsMeasure simple type (§22.9.2.14).

[Note: The W3C XML Schema definition of this element’s content model (CT_TwipsMeasure) is located in §A.6.1. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

RightMargin Members

DocumentFormat.OpenXml.Math Namespace