Graphics

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

Methods:

[], anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

Graphic [] (index:Number)

Returns the Graphic with the specified index.

Parameter

Type

Description

index

Number

The index.

Graphic anyItem ()

Returns any Graphic in the collection.

Number count ()

Displays the number of elements in the Graphic.

Graphic everyItem ()

Returns every Graphic in the collection.

Graphic firstItem ()

Returns the first Graphic in the collection.

Graphic item (index:Varies LongInteger String)

Returns the Graphic with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

The index or name. Can accept: Long Integer or String.

Graphic itemByID (id:Number)

Returns the Graphic with the specified ID.

Parameter

Type

Description

id

Number

The ID.

Graphic itemByName (name:String)

Returns the Graphic with the specified name.

Parameter

Type

Description

name

String

The name.

Graphic itemByRange (from:Varies Graphic LongInteger String, to:Varies Graphic LongInteger String)

Returns the Graphics within the specified range.

Parameter

Type

Description

from

Graphic

LongInteger

String

The Graphic, index, or name at the beginning of the range. Can accept: Graphic, Long Integer or String.

to

Graphic

LongInteger

String

The Graphic, index, or name at the end of the range. Can accept: Graphic, Long Integer or String.

Graphic lastItem ()

Returns the last Graphic in the collection.

Graphic middleItem ()

Returns the middle Graphic in the collection.

Graphic nextItem (obj:Graphic)

Returns the Graphic whose index follows the specified Graphic in the collection.

Parameter

Type

Description

obj

Graphic

The Graphic whose index comes before the desired Graphic.

Graphic previousItem (obj:Graphic)

Returns the Graphic with the index previous to the specified index.

Parameter

Type

Description

obj

Graphic

The index of the Graphic that follows the desired Graphic.

String toSource ()

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

Object of

PlaceGun.graphics

FormField.graphics

Button.graphics

State.graphics

MultiStateObject.graphics

CheckBox.graphics

ComboBox.graphics

ListBox.graphics

RadioButton.graphics

TextBox.graphics

SignatureField.graphics

Movie.graphics

Sound.graphics

Spread.graphics

PageItem.graphics

Oval.graphics

Rectangle.graphics

GraphicLine.graphics

Polygon.graphics

Group.graphics

Image.graphics

EPS.graphics

PDF.graphics

WMF.graphics

PICT.graphics

Graphic.graphics

SplineItem.graphics

EPSText.graphics

ImportedPage.graphics

SVG.graphics

MediaItem.graphics

Snippet.graphics

HtmlItem.graphics

TextFrame.graphics

EndnoteTextFrame.graphics

XMLElement.graphics

Page.masterPageItems