Prop
Prop class
Contains elements for defining custom properties and elements for associating data with a shape.
Constructors
| Name | Description |
|---|---|
| Prop | Constructor. |
Properties
| Name | Type | Description |
|---|---|---|
| Value | Value | Contains solution-specific, well-formed XML data that is prefixed in an explicit namespace and is stored with a document |
| Name | String | The name of the element. |
| NameU | String | The universal name of the element. |
| IX | int | The zero-based index of the element within its parent element. |
| ID | int | The unique ID of the element within its parent element. |
| Del | int | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| Prompt | Str2Value | Prompt element specifies descriptive or instructional text that appears to users in the Custom Properties dialog box whe |
| Label | Str2Value | Specifies the label that appears to users in the Custom Properties dialog box. |
| Format | StrValue | Format element specifies the formatting of a custom property that is a string, fixed list, number, variable list, date o |
| SortKey | Str2Value | It specifies a key that determines the order in which custom properties are listed in the application’s user interface. |
| Type | TypeProp | Type specifies a data type for the custom property value. |
| Invisible | BoolValue | Invisible element specifies whether the custom property is visible in the Custom Properties dialog box in Microsoft Visi |
| Verify | BoolValue | Specifies whether the user is queried to enter custom property information for a shape when an instance is created or th |
| LangID | IntValue | Indicates the locale ID (LCID) of the language in which the cell formula, text, custom property, or comment was entered. |
| Calendar | Calendar | Determines the calendar that is used for custom properties, text fields, and element formulas. |
Methods
| Name | Description |
|---|---|
| deepClone | Creates deep copy of this instance. |
Prop()
Constructor.
Prop.Value property
Contains solution-specific, well-formed XML data that is prefixed in an explicit namespace and is stored with a document.
Type: Value
Prop.Name property
The name of the element.
Type: String
Prop.NameU property
The universal name of the element.
Type: String
Prop.IX property
The zero-based index of the element within its parent element.
Type: int
Prop.ID property
The unique ID of the element within its parent element.
Type: int
Prop.Del property
A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.
Type: int
Prop.Prompt property
Prompt element specifies descriptive or instructional text that appears to users in the Custom Properties dialog box when the property is selected. This text also appears as a tool tip when the mouse pointer is paused over the property in the Custom Properties window.
Type: Str2Value
Prop.Label property
Specifies the label that appears to users in the Custom Properties dialog box.
Type: Str2Value
Prop.Format property
Format element specifies the formatting of a custom property that is a string, fixed list, number, variable list, date or time, duration, or currency. The custom property type is specified in the corresponding Type element.
Type: StrValue
Prop.SortKey property
It specifies a key that determines the order in which custom properties are listed in the application’s user interface.
Type: Str2Value
Prop.Type property
Type specifies a data type for the custom property value.
Type: TypeProp
Prop.Invisible property
Invisible element specifies whether the custom property is visible in the Custom Properties dialog box in Microsoft Visio.
Type: BoolValue
Prop.Verify property
Specifies whether the user is queried to enter custom property information for a shape when an instance is created or the shape is duplicated or copied.
Type: BoolValue
Prop.LangID property
Indicates the locale ID (LCID) of the language in which the cell formula, text, custom property, or comment was entered.
Type: IntValue
Prop.Calendar property
Determines the calendar that is used for custom properties, text fields, and element formulas.
Type: Calendar
deepClone()
Creates deep copy of this instance.