TextData Class

VML Diagram Text.When the object is serialized out as xml, its qualified name is pvml:textdata.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Vml.Presentation.TextData

Namespace:  DocumentFormat.OpenXml.Vml.Presentation
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class TextData _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As TextData
public class TextData : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1st Edition]

14.5.2.2 textdata (VML Diagram Text)

This element specifies optional supplementary text information associated with a legacy VML shape that is a node in a VML diagram when it cannot otherwise be stored within the DrawingML framework.

[Note: An application could use this to preserve a specific diagram format for backward compatibility, but it is strongly recommended to upgrade all VML shapes to DrawingML shapes. end note]

Parent Elements

arc (§14.1.2.1); curve (§14.1.2.3); group (§14.1.2.7); image (§14.1.2.10); line (§14.1.2.12); oval (§14.1.2.13); polyline (§14.1.2.15); rect (§14.1.2.16); roundrect (§14.1.2.17); shape (§14.1.2.19); shapetype (§14.1.2.20)

Attributes

Description

id (Text Reference)

Specifies the identifier that is used in conjunction with a corresponding relationship file to resolve the location of the diagram shape text.

[Example:

<v:shape … o:dgmnodekind="0" >
  <v:textbox inset="0,0,0,0"/>
  <pvml:textdata id="rId1"/>
</v:shape>

end example]

The possible values for this attribute are defined by the W3C XML Schema string datatype.

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

TextData Members

DocumentFormat.OpenXml.Vml.Presentation Namespace