Adds an event listener.
State
A state (states define the display of the field in an exported PDF).
Button | CheckBox | MultiStateObject | RadioButton
State
EPS | EPSText | EndnoteTextFrame | Graphic | GraphicLine | Group | Image | Oval | PDF | PICT | PageItem | Polygon | Rectangle | SVG | SplineItem | TextFrame | WMF
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| Boolean | read/write | If true, the state is active in the exported PDF. | |
| Boolean | read/write | If true, the state is enabled in PDF documents. | |
| EndnoteTextFrames |
readonly | A collection of endnote text frames. | |
| EPSs |
readonly | A collection of EPS files. | |
| EPSTexts |
readonly | EPSTexts | |
| EventListeners |
readonly | A collection of event listeners. | |
| Events |
readonly | A collection of events. | |
| GraphicLines |
readonly | A collection of graphic lines. | |
| Graphics |
readonly | A collection of imported graphics in any graphic file format (vector, metafile, or bitmap). | |
| Groups |
readonly | A collection of groups. | |
| Number | readonly | The unique ID of the State. | |
| Images |
readonly | A collection of bitmap images in any bitmap file format (including TIFF, JPEG, or GIF). | |
| Number | readonly | The index of the State within its containing object. | |
| Boolean | readonly | Returns true if the object specifier resolves to valid objects. | |
| String | read/write | The name of the State. | |
| Ovals |
readonly | A collection of ellipses. | |
| PageItems |
readonly | The page items collection, which can be used to process all page items in a container (such as a document, page, or group), regardless of type. | |
| CheckBox | MultiStateObject | Button | RadioButton | readonly | The parent of the State (a Button, MultiStateObject, CheckBox or RadioButton). | |
| PDFs |
readonly | A collection of PDF files. | |
| PICTs |
readonly | A collection of PICT graphics. | |
| Polygons |
readonly | A collection of polygons. | |
| Object | read/write | A property that allows setting of several properties at the same time. | |
| Rectangles |
readonly | A collection of rectangles. | |
| SplineItems |
readonly | The spline items collection. | |
| StateTypes | LongInteger | read/write | For a button, the type of user action that dictates the object's appearance. For a MultiStateObject, which has no user actions associated with states, this property is a numeric value uniquely identifying the state. Can return: StateTypes enumerator or Long Integer. | |
| SVGs |
readonly | A collection of SVG files. | |
| TextFrames |
readonly | A collection of text frames. | |
| WMFs |
readonly | A collection of WMF graphics. |
Methods
Adds page items to this state.
Resolves the object specifier, creating an array of object references.
Moves the state to a new position in its parent collection.
Releases this state's appearance as a page item, removing the state from its parent object.
Deletes the State.
Removes the event listener.
Generates a string which, if executed, will return the State.
Retrieves the object specifier.
Object of 20
Properties elsewhere that hold a State.
Parameter of 3
Method parameters that accept a State.
Return 14
Methods that return a State.