InDesign Server2025
API 20.5.0.49
Collection of WMF

WMFs

A collection of WMF graphics.

Properties

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

Methods

WMF

Returns the WMF with the specified index.

index Number The index.
WMF

Returns any WMF in the collection.

Number

Displays the number of elements in the WMF.

WMF[]

Returns every WMF in the collection.

WMF

Returns the first WMF in the collection.

WMF

Returns the WMF with the specified index or name.

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

Returns the WMF with the specified ID.

id Number The ID.
WMF

Returns the WMF with the specified name.

name String The name.
WMF[]

Returns the WMFs within the specified range.

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

Returns the last WMF in the collection.

WMF

Returns the middle WMF in the collection.

WMF

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

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

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

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

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

Object of 17

Properties elsewhere that hold a WMFs.