Graphics
A collection of imported graphics in any graphic file format (vector, metafile, or bitmap).
Go to Property Listing | Method Listing
Methods:
[], anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
Method Listing
Graphic [] (index:Number)
Returns the Graphic with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
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 |
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 |
The ID. |
Graphic itemByName (name:String)
Returns the Graphic with the specified name.
Parameter |
Type |
Description |
---|---|---|
name |
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 |
LongInteger |
The Graphic, index, or name at the beginning of the range. Can accept: Graphic, Long Integer or String. |
to |
LongInteger |
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 |
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 |
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