Prop class
Prop class
Contains elements for defining custom properties and elements for associating data with a shape.
The Prop type exposes the following members:
Constructors
Constructor | Description |
---|
Prop() | Constructor. |
Properties
Property | Description |
---|
value | Contains solution-specific, well-formed XML data that is prefixed in an explicit namespace and is stored with a document. |
name | The name of the element. |
name_u | The universal name of the element. |
ix | The zero-based index of the element within its parent element. |
id | The unique ID of the element within its parent element. |
prompt | 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. |
label | Specifies the label that appears to users in the Custom Properties dialog box. |
format | 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. |
sort_key | It specifies a key that determines the order in which custom properties are listed in the application’s user interface. |
type | Type specifies a data type for the custom property value. |
invisible | Invisible element specifies whether the custom property is visible in the Custom Properties dialog box in Microsoft Visio. |
verify | 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. |
lang_id | Indicates the locale ID (LCID) of the language in which the cell formula, text, custom property, or comment was entered. |
calendar | Determines the calendar that is used for custom properties, text fields, and element formulas. |
Methods
Method | Description |
---|
clone() | Creates deep copy of this instance. |
See Also