DataColumn

DataColumn class

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.

Constructors

NameDescription
DataColumnConstructor.

Properties

NameTypeDescription
ColumnNameIDStringExternal name of the data column. Appears in the headings in the External Data window and in labels in data graphics.
NameStringInternal name of the data column. Used as the row name for the shape-data item (custom property) added to a shape when t
LabelStringLabel of the data column.
OrigLabelStringColumn label returned to Visio by the underlying ADO interface.
LangIDlongThe language ID of the data column
CalendarintCalendar ID of the data column.
DataTypeintType of the data in the data column.
UnitTypeStringUnit type of the data in the data column.
CurrencyintCurrency ID of the data column.
DegreelongSpecifies the degree (power) of the units, for example squared, or cubed. The default (attribute absent) is 1.
DisplayWidthlongWidth of the data column in the External Data window.
DisplayOrderlongDefines the display position of the data column in the External Data window, from the left-most column (0) to the right-
MappedintSpecifies whether the column is visible in the External Data window. True (1) for the column to be visible; false (0) fo
HyperlinkintWhether the data column creates a hyperlink in a shape when the shape is linked to data. The value of the property is BO

DataColumn()

Constructor.

DataColumn.ColumnNameID property

External name of the data column. Appears in the headings in the External Data window and in labels in data graphics.

Type: String

DataColumn.Name property

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.

Type: String

DataColumn.Label property

Label of the data column.

Type: String

DataColumn.OrigLabel property

Column label returned to Visio by the underlying ADO interface.

Type: String

DataColumn.LangID property

The language ID of the data column

Type: long

DataColumn.Calendar property

Calendar ID of the data column.

Type: int

DataColumn.DataType property

Type of the data in the data column.

Type: int

DataColumn.UnitType property

Unit type of the data in the data column.

Type: String

DataColumn.Currency property

Currency ID of the data column.

Type: int

DataColumn.Degree property

Specifies the degree (power) of the units, for example squared, or cubed. The default (attribute absent) is 1.

Type: long

DataColumn.DisplayWidth property

Width of the data column in the External Data window.

Type: long

DataColumn.DisplayOrder property

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).

Type: long

DataColumn.Mapped property

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. The value of the property is BOOL integer constant.

Type: int

Whether the data column creates a hyperlink in a shape when the shape is linked to data. The value of the property is BOOL integer constant.

Type: int