InDesign Server2025
API 20.5.0.49
Collection of SVG

SVGs

A collection of SVG files.

Properties

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

Methods

→ SVG

Returns the SVG with the specified index.

index Number The index.
→ SVG

Creates a new SVG.

withProperties? Object Initial values for properties of the new SVG
→ SVG

Returns any SVG in the collection.

→ Number

Displays the number of elements in the SVG.

→ SVG[]

Returns every SVG in the collection.

→ SVG

Returns the first SVG in the collection.

→ SVG

Returns the SVG with the specified index or name.

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

Returns the SVG with the specified ID.

id Number The ID.
→ SVG

Returns the SVG with the specified name.

name String The name.
→ SVG[]

Returns the SVGs within the specified range.

from LongInteger | SVG | String The SVG, index, or name at the beginning of the range. Can accept: SVG, Long Integer or String.
to LongInteger | SVG | String The SVG, index, or name at the end of the range. Can accept: SVG, Long Integer or String.
→ SVG

Returns the last SVG in the collection.

→ SVG

Returns the middle SVG in the collection.

→ SVG

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

obj SVG The SVG whose index comes before the desired SVG.
→ SVG

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

obj SVG The index of the SVG that follows the desired SVG.
→ String

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

Object of 36

Properties elsewhere that hold a SVGs.