WrapIndent Class

Wrap Indent.When the object is serialized out as xml, its qualified name is m:wrapIndent.

Inheritance Hierarchy

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

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

Syntax

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

Remarks

[ISO/IEC 29500-1 1st Edition]

22.1.2.120 wrapIndent (Wrap Indent)

This element specifies the indent of the wrapped line of an instance of mathematical text. The line or lines of a wrapped instance of mathematical text after the line break can either be indented by a specified amount from the left margin, or right aligned. The default indent is 1". In other words, whether the element is absent or present without the val attribute, the default of the val attribute is 1440 twips (or 1 inch).

[Example: The XML below demonstrates wrapIndent in use:

<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="0"/>
<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

WrapIndent Members

DocumentFormat.OpenXml.Math Namespace