This documentation is archived and is not being maintained.

RunProperties Class

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

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

public class RunProperties : OpenXmlCompositeElement

The following table lists the possible child types:

  • Bold <x:b>

  • Italic <x:i>

  • Strike <x:strike>

  • Condense <x:condense>

  • Extend <x:extend>

  • Outline <x:outline>

  • Shadow <x:shadow>

  • Underline <x:u>

  • VerticalTextAlignment <x:vertAlign>

  • FontSize <x:sz>

  • Color <x:color>

  • RunFont <x:rFont>

  • FontFamily <x:family>

  • RunPropertyCharSet <x:charset>

  • FontScheme <x:scheme>

[ISO/IEC 29500-1 1st Edition]

18.4.7 rPr (Run Properties)

This element represents a set of properties to apply to the contents of this rich text run.

Parent Elements

r (§18.4.4)

Child Elements


b (Bold)


charset (Character Set)


color (Data Bar Color)


condense (Condense)


extend (Extend)


family (Font Family)


i (Italic)


outline (Outline)


rFont (Font)


scheme (Scheme)


shadow (Shadow)


strike (Strike Through)


sz (Font Size)


u (Underline)


vertAlign (Vertical Alignment)


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

© ISO/IEC29500: 2008.

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