NonVisualShapeDrawingProperties.TextBox Property

Text Box.Represents the attribte in schema: txBox

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


<SchemaAttrAttribute(, "txBox")> _
Public Property TextBox As BooleanValue
Dim instance As NonVisualShapeDrawingProperties
Dim value As BooleanValue

value = instance.TextBox

instance.TextBox = value
[SchemaAttrAttribute(, "txBox")]
public BooleanValue TextBox { get; set; }

Property Value

Type: DocumentFormat.OpenXml.BooleanValue
Returns BooleanValue.


The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Specifies that the corresponding shape is a text box and thus should be treated as such by the generating application. If this attribute is omitted then it is assumed that the corresponding shape is not specifically a text box.

Because a shape is not specified to be a text box does not mean that it cannot have text attached to it. A text box is merely a specialized shape with specific properties.

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

See Also


NonVisualShapeDrawingProperties Class

NonVisualShapeDrawingProperties Members

DocumentFormat.OpenXml.Presentation Namespace