Field

Field class

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

Field()

Constructor.

Properties

NameTypeDescription
IXintThe zero-based index of the element within its parent element.
DelintA flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca
ValueValueIt contains the value for a text field.
DisplayValueStringGets the formatted string value of this field .
EditModeDoubleValueReserved for future use.
FormatValueFormat element specifies the formatting for a text field that is a string, number, date or time, duration, or currency.
TypeTypeFieldType specifies a data type for the text field value.
UICatDoubleValueSpecifies the category of an inserted field in versions of Microsoft Visio earlier than Visio 2000.
UICodDoubleValueSpecifies the code of an inserted field in versions of Microsoft Visio earlier than Visio 2000.
UIFmtDoubleValueSpecifies the format of an inserted field in versions of Microsoft Visio earlier than Visio 2000.
CalendarCalendarDetermines the calendar that is used for custom properties, text fields, and element formulas.
ObjectKindObjectKindIndicates the type of text field.

Methods

NameDescription
deepCloneCreates deep copy of this instance.