SdtContentRichText class

Office 2013 and later

Defines the SdtContentRichText Class. When the object is serialized out as xml, its qualified name is w:richText.

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

No code example is currently available or this language may not be supported.

[ISO/IEC 29500-1 1st Edition]

richText (Rich Text Structured Document Tag)

This element specifies that the parent structured document tag shall be a rich text box when displayed in the document.

If no type element (the xsd:choice block in the XML Schema fragment for the parent sdtPr element) is specified, then the parent structured document tag shall be of type richText.

[Example: Consider the following structured document tag:

<w:sdt>
  <w:sdtPr>
    …    <w:richText/>
  </w:sdtPr>
  …</w:sdt>

The richText element in this structured document tag's properties specify that the type of structured document tag is a rich text box. end example].

Parent Elements

sdtPr (§17.5.2.38)

[Note: The W3C XML Schema definition of this element’s content model (CT_Empty) is located in §A.1. 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.
Show: