Share via


RunProperties Class

Run Properties.When the object is serialized out as xml, its qualified name is m:rPr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Math.RunProperties

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(Literal))> _
<ChildElementInfoAttribute(GetType(Break))> _
<ChildElementInfoAttribute(GetType(Alignment))> _
<ChildElementInfoAttribute(GetType(Script))> _
<ChildElementInfoAttribute(GetType(Style))> _
<ChildElementInfoAttribute(GetType(NormalText))> _
Public Class RunProperties _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As RunProperties
[ChildElementInfoAttribute(typeof(Literal))]
[ChildElementInfoAttribute(typeof(Break))]
[ChildElementInfoAttribute(typeof(Alignment))]
[ChildElementInfoAttribute(typeof(Script))]
[ChildElementInfoAttribute(typeof(Style))]
[ChildElementInfoAttribute(typeof(NormalText))]
public class RunProperties : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • Literal <m:lit>

  • NormalText <m:nor>

  • Script <m:scr>

  • Style <m:sty>

  • Break <m:brk>

  • Alignment <m:aln>

[ISO/IEC 29500-1 1st Edition]

22.1.2.91 rPr (Run Properties)

This element specifies the properties of the math run r.

[Example:

is represented by the following XML:

<m:r>
  <m:rPr>
    <m:scr m:val="fraktur"/>
    <m:sty m:val="b"/>
  </m:rPr>
  <m:t>F+G</m:t>
</m:r>

end example]

Parent Elements

r (§22.1.2.87)

Child Elements

Subclause

aln (Alignment)

§22.1.2.3

brk (Break)

§22.1.2.15

lit (Literal)

§22.1.2.58

nor (Normal Text)

§22.1.2.74

scr (Script)

§22.1.2.94

sty (style)

§22.1.2.111

[Note: The W3C XML Schema definition of this element’s content model (CT_RPR) 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

RunProperties Members

DocumentFormat.OpenXml.Math Namespace