CompositeFonts

A collection of composite fonts.

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

CompositeFont [] (index:Number)

Returns the CompositeFont with the specified index.

Parameter

Type

Description

index

Number

The index.

CompositeFont add (withProperties:Object)

Creates a new CompositeFont.

Parameter

Type

Description

withProperties

Object

Initial values for properties of the new CompositeFont (Optional)

CompositeFont anyItem ()

Returns any CompositeFont in the collection.

Number count ()

Displays the number of elements in the CompositeFont.

CompositeFont everyItem ()

Returns every CompositeFont in the collection.

CompositeFont firstItem ()

Returns the first CompositeFont in the collection.

CompositeFont item (index:Varies LongInteger String)

Returns the CompositeFont with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

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

CompositeFont itemByID (id:Number)

Returns the CompositeFont with the specified ID.

Parameter

Type

Description

id

Number

The ID.

CompositeFont itemByName (name:String)

Returns the CompositeFont with the specified name.

Parameter

Type

Description

name

String

The name.

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

Returns the CompositeFonts within the specified range.

Parameter

Type

Description

from

CompositeFont

LongInteger

String

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

to

CompositeFont

LongInteger

String

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

CompositeFont lastItem ()

Returns the last CompositeFont in the collection.

CompositeFont middleItem ()

Returns the middle CompositeFont in the collection.

CompositeFont nextItem (obj:CompositeFont)

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

Parameter

Type

Description

obj

CompositeFont

The CompositeFont whose index comes before the desired CompositeFont.

CompositeFont previousItem (obj:CompositeFont)

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

Parameter

Type

Description

obj

CompositeFont

The index of the CompositeFont that follows the desired CompositeFont.

String toSource ()

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

Object of

Application.compositeFonts

Document.compositeFonts