InDesign Server2025
API 20.5.0.49
Collection of Oval

Ovals

A collection of ellipses.

Properties

NameType AccessDescription
Number readonly The number of objects in the collection.

Methods

Oval

Returns the Oval with the specified index.

index Number The index.
Oval

Creates a new Oval

layer? Layer The layer on which to create the Oval.
at? LocationOptions The location at which to insert the Oval relative to the reference object or within the container object.
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.
withProperties? Object Initial values for properties of the new Oval
Oval

Returns any Oval in the collection.

Number

Displays the number of elements in the Oval.

Oval[]

Returns every Oval in the collection.

Oval

Returns the first Oval in the collection.

Oval

Returns the Oval with the specified index or name.

index LongInteger | String The index or name. Can accept: Long Integer or String.
Oval

Returns the Oval with the specified ID.

id Number The ID.
Oval

Returns the Oval with the specified name.

name String The name.
Oval[]

Returns the Ovals within the specified range.

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

Returns the last Oval in the collection.

Oval

Returns the middle Oval in the collection.

Oval

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

obj Oval The Oval whose index comes before the desired Oval.
Oval

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

obj Oval The index of the Oval that follows the desired Oval.
String

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

Object of 37

Properties elsewhere that hold a Ovals.