Compartir a través de


SdtContentRichText Class

Rich Text Structured Document Tag.When the object is serialized out as xml, its qualified name is w:richText.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.EmptyType
        DocumentFormat.OpenXml.Wordprocessing.SdtContentRichText

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

Syntax

'Declaration
Public Class SdtContentRichText _
    Inherits EmptyType
'Usage
Dim instance As SdtContentRichText
public class SdtContentRichText : EmptyType

Remarks

[ISO/IEC 29500-1 1st Edition]

17.5.2.26 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.

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

SdtContentRichText Members

DocumentFormat.OpenXml.Wordprocessing Namespace