Partager via


NonVisualShapeDrawingProperties.TextBox Property

Text Box.Represents the attribte in schema: txBox

Namespace:  DocumentFormat.OpenXml.Drawing.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "txBox")> _
Public Property TextBox As BooleanValue
    Get
    Set
'Usage
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.

Remarks

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 data type.

See Also

Reference

NonVisualShapeDrawingProperties Class

NonVisualShapeDrawingProperties Members

DocumentFormat.OpenXml.Drawing.Spreadsheet Namespace