Field class

Field class

Contains elements that specify functions and formulas inserted in the shape’s text.

The Field type exposes the following members:

Constructors

ConstructorDescription
Field()Constructor.

Properties

PropertyDescription
ixThe zero-based index of the element within its parent element.
valueIt contains the value for a text field.
display_valueGets the formatted string value of this field .
edit_modeReserved for future use.
formatFormat element specifies the formatting for a text field that is a string, number, date or time, duration, or currency. The text field type is specified in the corresponding Type element.
typeType specifies a data type for the text field value.
ui_catSpecifies the category of an inserted field in versions of Microsoft Visio earlier than Visio 2000.
ui_codSpecifies the code of an inserted field in versions of Microsoft Visio earlier than Visio 2000.
ui_fmtSpecifies the format of an inserted field in versions of Microsoft Visio earlier than Visio 2000.
calendarDetermines the calendar that is used for custom properties, text fields, and element formulas.
object_kindIndicates the type of text field.

Methods

MethodDescription
clone()Creates deep copy of this instance.

See Also