Adobe InCopy CS6 (8.0) Object Model JS: Ovals

InCopy CS6

Class

Ovals

 A collection of ellipses.

See also Oval.

QuickLinks

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

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

Oval [] (index: number)
Returns the Oval with the specified index.

ParameterTypeDescription
indexnumberThe index.

Oval anyItem ()
Returns any Oval in the collection.

number count ()
Displays the number of elements in the Oval.

Array of Oval everyItem ()
Returns every Oval in the collection.

Oval firstItem ()
Returns the first Oval in the collection.

Oval item (index: varies)
Returns the Oval with the specified index or name.

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

Oval itemByID (id: number)
Returns the Oval with the specified ID.

ParameterTypeDescription
idnumberThe ID.

Oval itemByName (name: string)
Returns the Oval with the specified name.

ParameterTypeDescription
namestringThe name.

Array of Oval itemByRange (from: varies, to: varies)
Returns the Ovals within the specified range.

ParameterTypeDescription
fromLong Integer
Oval
String
The Oval, index, or name at the beginning of the range. Can accept: Oval, Long Integer or String.
toLong Integer
Oval
String
The Oval, index, or name at the end of the range. Can accept: Oval, Long Integer or String.

Oval lastItem ()
Returns the last Oval in the collection.

Oval middleItem ()
Returns the middle Oval in the collection.

Oval nextItem (obj: Oval)
Returns the Oval whose index follows the specified Oval in the collection.

ParameterTypeDescription
objOvalThe Oval whose index comes before the desired Oval.

Oval previousItem (obj: Oval)
Returns the Oval with the index previous to the specified index.

ParameterTypeDescription
objOvalThe index of the Oval that follows the desired Oval.

string toSource ()
Generates a string which, if executed, will return the Oval.

Element of

Button.ovals

Cell.ovals

Character.ovals

CheckBox.ovals

ComboBox.ovals

Document.ovals

Footnote.ovals

GraphicLine.ovals

Group.ovals

InsertionPoint.ovals

Layer.ovals

Line.ovals

ListBox.ovals

MasterSpread.ovals

MultiStateObject.ovals

Oval.ovals

Page.ovals

Paragraph.ovals

PlaceGun.ovals

Polygon.ovals

RadioButton.ovals

Rectangle.ovals

SignatureField.ovals

SplineItem.ovals

Spread.ovals

State.ovals

Story.ovals

Table.ovals

Text.ovals

TextBox.ovals

TextColumn.ovals

TextFrame.ovals

TextStyleRange.ovals

Word.ovals

XmlStory.ovals

Jongware, 29-Apr-2012 v3.0.3iContents :: Index