TextBoxInfo2 class
Defines the TextBoxInfo2 Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is wps:txbx.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Office2010.Word.DrawingShape.TextBoxInfo2
Namespace: DocumentFormat.OpenXml.Office2010.Word.DrawingShape
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
2.5.74 CT_TextboxInfo
Target namespace: http://schemas.microsoft.com/office/word/2010/wordprocessingShape
Referenced by: CT_WordprocessingShape
This type contains all the text contents of a CT_WordprocessingShape and associates that textual information, referred to as a text box story, with a story identifier. An element of this type MUST be present only in the CT_WordprocessingShape element that is the first in a series of CT_WordprocessingShape elements that refer to the same text box story.
Child Elements:
w12:txbxContent: A CT_TxbxContent ([ISO/IEC-29500-4] section A.1) element. This element specifies the text contents.
extLst: A CT_OfficeArtExtensionList ([ISO/IEC-29500-1] section A.4.1) element to hold future extensions to the parent element of this extLst element
Attributes:
id: An unsignedShort ([XMLSCHEMA2] section 3.3.23) attribute that specifies the identity of the text box story begun by a CT_TextboxInfo element. This value MUST be unique across a document for each instance of CT_TextboxInfo.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_TextboxInfo">
<xsd:sequence>
<xsd:element ref="w12:txbxContent" minOccurs="0" maxOccurs="1"/>
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="id" type="xsd:unsignedShort" use="optional" default="0"/>
</xsd:complexType>
See section 5.2 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).