DataColumn element (DataColumns_Type complexType) (Visio XML)
Defines how a data column appears in the External Data window in the Visio user interface and qualifies the data in the column by defining its data type and formatting.
Element information
Value | |
---|---|
Element type |
DataColumn_Type |
Namespace |
http://schemas.microsoft.com/office/visio/2012/main |
Schema file |
VisioSchema15.xsd |
Document parts |
recordsets.xml |
Definition
< xs:element name="DataColumn" type="DataColumn_Type" minOccurs="1" maxOccurs="unbounded" >
</xs:element >
Elements and attributes
If the schema defines specific requirements, such as sequence, minOccurs, maxOccurs, and choice, see the definition section.
Parent elements
Element | Type | Description |
---|---|---|
DataColumns |
DataColumns_Type |
Contains all the DataColumn elements in a data recordset. |
Child elements
None.
Attributes
Attribute | Type | Required | Description | Possible values |
---|---|---|---|---|
Calendar |
xsd:unsignedShort |
optional |
Calendar ID of the data column. | Values of the xsd:unsignedShort type. |
ColumnNameID |
xsd:string |
required |
External name of the data column. Appears in the headings in the External Data window and in labels in data graphics. | Values of the xsd:string type. |
Currency |
xsd:unsignedShort |
optional |
Currency ID of the data column. | Values of the xsd:unsignedShort type. |
DataType |
xsd:unsignedShort |
optional |
Type of the data in the data column. | Values of the xsd:unsignedShort type. |
Degree |
xsd:unsignedInt |
optional |
Specifies the degree (power) of the units, for example squared, or cubed. The default (attribute absent) is 1. | Values of the xsd:unsignedInt type. |
DisplayOrder |
xsd:unsignedInt |
optional |
Defines the display position of the data column in the External Data window, from the left-most column (0) to the right-most column (largest value). | Values of the xsd:unsignedInt type. |
DisplayWidth |
xsd:unsignedInt |
optional |
Width of the data column in the External Data window. | Values of the xsd:unsignedInt type. |
Hyperlink |
xsd:boolean |
optional |
Whether the data column creates a hyperlink in a shape when the shape is linked to data. | Values of the xsd:boolean type. |
Label |
xsd:string |
required |
Label of the data column. | Values of the xsd:string type. |
LangID |
xsd:unsignedInt |
optional |
The language ID of the data column. | Values of the xsd:unsignedInt type. |
Mapped |
xsd:boolean |
optional |
Specifies whether the column is visible in the External Data window. True (1) for the column to be visible; False (0) for the column not to be visible. The default (attribute absent) is for the column to be visible. | Values of the xsd:boolean type. |
Name |
xsd:string |
required |
Internal name of the data column. Used as the row name for the shape-data item (custom property) added to a shape when the shape is linked to a data row. | Values of the xsd:string type. |
OrigLabel |
xsd:string |
optional |
Column label returned to Visio by the underlying ADO interface. | Values of the xsd:string type. |
UnitType |
xsd:string |
optional |
Unit type of the data in the data column. | Values of the xsd:string type. |