State

A state (states define the display of the field in an exported PDF).

Methods:

getElements, remove, toSource, toSpecifier

Objects:

Boolean, EPSs, GraphicLines, Graphics, Groups, Images, Number, Object, Ovals, PDFs, PICTs, PageItems, Polygons, Rectangles, StateTypes, String, TextFrames, WMFs

Property Listing

Property

Type

Access

Description

active

Boolean

read/write

If true, the state is active in the exported PDF.

enabled

Boolean

read/write

If true, the state is enabled in PDF documents.

epss

EPSs EPS

readonly

A collection of EPS files.

graphicLines

GraphicLines GraphicLine

readonly

A collection of graphic lines.

graphics

Graphics Graphic

readonly

A collection of imported graphics in any graphic file format (vector, metafile, or bitmap).

groups

Groups Group

readonly

A collection of groups.

id

Number

readonly

The unique ID of the State.

images

Images Image

readonly

A collection of bitmap images in any bitmap file format (including TIFF, JPEG, or GIF).

index

Number

readonly

The index of the State within its containing object.

name

String

readonly

The name of the State.

ovals

Ovals Oval

readonly

A collection of ellipses.

pageItems

PageItems PageItem

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.

parent

Button

readonly

The parent of the State (a Button).

pdfs

PDFs PDF

readonly

A collection of PDF files.

picts

PICTs PICT

readonly

A collection of PICT graphics.

polygons

Polygons Polygon

readonly

A collection of polygons.

properties

Object

read/write

A property that allows setting of several properties at the same time.

rectangles

Rectangles Rectangle

readonly

A collection of rectangles.

statetype

StateTypes

StateTypes.DOWN

StateTypes.ROLLOVER

StateTypes.UP

read/write

The type of user action that dictates the button's appearance.

textFrames

TextFrames TextFrame

readonly

A collection of text frames.

wmfs

WMFs WMF

readonly

A collection of WMF graphics.

Method Listing

State getElements ()

Resolves the object specifier, creating an array of object references.

undefined remove ()

Deletes the State.

String toSource ()

Generates a string which, if executed, will return the State.

String toSpecifier ()

Retrieves the object specifier.

Object of

EPS.parent

Graphic.parent

GraphicLine.parent

Group.parent

Image.parent

Oval.parent

PDF.parent

PICT.parent

PageItem.parent

Polygon.parent

Rectangle.parent

TextFrame.parent

WMF.parent

Return

States.add()

State.getElements()

States.anyItem()

States.everyItem()

States.nextItem()

States.previousItem()

States.itemByID()

States.item()

States.itemByName()

States.itemByRange()

States.firstItem()

States.lastItem()

States.middleItem()