Ovals

A collection of ellipses.

Methods:

[], add, 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

Oval [] (index:Number)

Returns the Oval with the specified index.

Parameter

Type

Description

index

Number

The index.

Oval add (layer:Layer, [at:LocationOptions=LocationOptions], reference:Varies Document Layer MasterSpread Page Spread PageItem, withProperties:Object)

Creates a new Oval

Parameter

Type

Description

layer

Layer

The layer on which to create the Oval. (Optional)

at

LocationOptions

LocationOptions.AFTER

LocationOptions.AT_BEGINNING

LocationOptions.AT_END

LocationOptions.BEFORE

LocationOptions.UNKNOWN

The location at which to insert the Oval relative to the reference object or within the container object. (Optional)

(default: LocationOptions.UNKNOWN)

reference

Document

Layer

MasterSpread

Page

Spread

PageItem

The reference object. Note: Required when the at parameter is before or after. Can accept: Document, Spread, MasterSpread, Page, Layer or PageItem. (Optional)

withProperties

Object

Initial values for properties of the new Oval (Optional)

Oval anyItem ()

Returns any Oval in the collection.

Number count ()

Displays the number of elements in the Oval.

Oval everyItem ()

Returns every Oval in the collection.

Oval firstItem ()

Returns the first Oval in the collection.

Oval item (index:Varies LongInteger String)

Returns the Oval with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

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

Oval itemByID (id:Number)

Returns the Oval with the specified ID.

Parameter

Type

Description

id

Number

The ID.

Oval itemByName (name:String)

Returns the Oval with the specified name.

Parameter

Type

Description

name

String

The name.

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

Returns the Ovals within the specified range.

Parameter

Type

Description

from

LongInteger

Oval

String

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

to

LongInteger

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.

Parameter

Type

Description

obj

Oval

The Oval whose index comes before the desired Oval.

Oval previousItem (obj:Oval)

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

Parameter

Type

Description

obj

Oval

The index of the Oval that follows the desired Oval.

String toSource ()

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

Object of

PlaceGun.ovals

Document.ovals

Button.ovals

State.ovals

MultiStateObject.ovals

CheckBox.ovals

ComboBox.ovals

ListBox.ovals

RadioButton.ovals

TextBox.ovals

SignatureField.ovals

Layer.ovals

Spread.ovals

Page.ovals

MasterSpread.ovals

Oval.ovals

Rectangle.ovals

GraphicLine.ovals

Polygon.ovals

Group.ovals

SplineItem.ovals

Snippet.ovals

Cell.ovals

Table.ovals

Text.ovals

Character.ovals

Word.ovals

Line.ovals

TextColumn.ovals

Paragraph.ovals

TextStyleRange.ovals

InsertionPoint.ovals

TextFrame.ovals

Story.ovals

EndnoteTextFrame.ovals

Footnote.ovals

XmlStory.ovals