CompositeFonts
A collection of composite fonts.
Go to Property Listing | Method Listing
Methods:
[], add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
Method Listing
CompositeFont [] (index:Number)
Returns the CompositeFont with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
The index. |
CompositeFont add (withProperties:Object)
Creates a new CompositeFont.
Parameter |
Type |
Description |
---|---|---|
withProperties |
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 |
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 |
The ID. |
CompositeFont itemByName (name:String)
Returns the CompositeFont with the specified name.
Parameter |
Type |
Description |
---|---|---|
name |
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 |
LongInteger |
The CompositeFont, index, or name at the beginning of the range. Can accept: CompositeFont, Long Integer or String. |
to |
LongInteger |
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 |
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 |
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