This documentation is archived and is not being maintained.

Run Class

Rich Text Run.When the object is serialized out as xml, its qualified name is x:r.

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

public class Run : OpenXmlCompositeElement

The following table lists the possible child types:

  • RunProperties <x:rPr>

  • Text <x:t>

[ISO/IEC 29500-1 1st Edition]

18.4.4 r (Rich Text Run)

This element represents a run of rich text. A rich text run is a region of text that share a common set of properties, such as formatting properties. The properties are defined in the rPr element, and the text displayed to the user is defined in the Text (t) element.

Parent Elements

is (§; si (§18.4.8); text (§18.7.7)

Child Elements


rPr (Run Properties)


t (Text)


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