
## Prop class

Contains elements for defining custom properties and elements for associating data with a shape.

```js
new Prop()
```

Constructor.

## Methods

| Name | Description |
| --- | --- |
| [deepClone()](#deepclone) | Creates deep copy of this instance. |
| [getCalendar()](#getcalendar) | Determines the calendar that is used for custom properties, text fields, and element formulas. |
| [getDel()](#getdel) | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| [getFormat()](#getformat) | Format element specifies the formatting of a custom property that is a string, fixed list, number, variable list, date o |
| [getID()](#getid) | The unique ID of the element within its parent element. |
| [getInvisible()](#getinvisible) | Invisible element specifies whether the custom property is visible in the Custom Properties dialog box in Microsoft Visi |
| [getIX()](#getix) | The zero-based index of the element within its parent element. |
| [getLabel()](#getlabel) | Specifies the label that appears to users in the Custom Properties dialog box. |
| [getLangID()](#getlangid) | Indicates the locale ID (LCID) of the language in which the cell formula, text, custom property, or comment was entered. |
| [getName()](#getname) | The name of the element. |
| [getNameU()](#getnameu) | The universal name of the element. |
| [getPrompt()](#getprompt) | Prompt element specifies descriptive or instructional text that appears to users in the Custom Properties dialog box whe |
| [getSortKey()](#getsortkey) | It specifies a key that determines the order in which custom properties are listed in the application's user interface. |
| [getType()](#gettype) | Type specifies a data type for the custom property value. |
| [getValue()](#getvalue) | Contains solution-specific, well-formed XML data that is prefixed in an explicit namespace and is stored with a document |
| [getVerify()](#getverify) | Specifies whether the user is queried to enter custom property information for a shape when an instance is created or th |
| [setDel()](#setdel) | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| [setID()](#setid) | The unique ID of the element within its parent element. |
| [setIX()](#setix) | The zero-based index of the element within its parent element. |
| [setName()](#setname) | The name of the element. |
| [setNameU()](#setnameu) | The universal name of the element. |

### deepClone() {#deepclone}

Creates deep copy of this instance.

**Returns:** Prop — `Prop`

### getCalendar() {#getcalendar}

Determines the calendar that is used for custom properties, text fields, and element formulas.

### getDel() {#getdel}

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.

### getFormat() {#getformat}

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.

### getID() {#getid}

The unique ID of the element within its parent element.

### getInvisible() {#getinvisible}

Invisible element specifies whether the custom property is visible in the Custom Properties dialog box in Microsoft Visio.

### getIX() {#getix}

The zero-based index of the element within its parent element.

### getLabel() {#getlabel}

Specifies the label that appears to users in the Custom Properties dialog box.

### getLangID() {#getlangid}

Indicates the locale ID (LCID) of the language in which the cell formula, text, custom property, or comment was entered.

### getName() {#getname}

The name of the element.

### getNameU() {#getnameu}

The universal name of the element.

### getPrompt() {#getprompt}

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.

### getSortKey() {#getsortkey}

It specifies a key that determines the order in which custom properties are listed in the application's user interface.

### getType() {#gettype}

Type specifies a data type for the custom property value.

### getValue() {#getvalue}

Contains solution-specific, well-formed XML data that is prefixed in an explicit namespace and is stored with a document.

### getVerify() {#getverify}

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.

### setDel() {#setdel}

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.

### setID() {#setid}

The unique ID of the element within its parent element.

### setIX() {#setix}

The zero-based index of the element within its parent element.

### setName() {#setname}

The name of the element.

### setNameU() {#setnameu}

The universal name of the element.
