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.

DataColumn()

Constructor.

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