Instance Properties
Name | Description | Access |
---|---|---|
length | number The number of objects in the collection. | read-only |
Methods
add( | [withProperties]) |
→ CompositeFont |
anyItem( | ) |
→ CompositeFont |
count( | ) |
→ number |
everyItem( | ) |
→ CompositeFont |
firstItem( | ) |
→ CompositeFont |
item( | index) |
→ CompositeFont |
itemByID( | id) |
→ CompositeFont |
itemByName( | name) |
→ CompositeFont |
itemByRange( | from, to) |
→ CompositeFont |
lastItem( | ) |
→ CompositeFont |
middleItem( | ) |
→ CompositeFont |
nextItem( | obj) |
→ CompositeFont |
previousItem( | obj) |
→ CompositeFont |
toSource( | ) |
→ string |
-
add( [withProperties])→ CompositeFont -
Creates a new CompositeFont.
withProperties
Object Initial values for properties of the new CompositeFont (Optional) -
anyItem( )→ CompositeFont -
Returns any CompositeFont in the collection.
-
count( )→ number -
Displays the number of elements in the CompositeFont.
-
everyItem( )→ CompositeFont -
Returns every CompositeFont in the collection.
-
firstItem( )→ CompositeFont -
Returns the first CompositeFont in the collection.
-
item( index)→ CompositeFont -
Returns the CompositeFont with the specified index or name.
index
The index or name. Can accept: Long Integer or String. -
itemByID( id)→ CompositeFont -
Returns the CompositeFont with the specified ID.
id
number The ID. -
itemByName( name)→ CompositeFont -
Returns the CompositeFont with the specified name.
name
string The name. -
itemByRange( from, to)→ CompositeFont -
Returns the CompositeFonts within the specified range.
from
The CompositeFont, index, or name at the beginning of the range. Can accept: CompositeFont, Long Integer or String. to
The CompositeFont, index, or name at the end of the range. Can accept: CompositeFont, Long Integer or String. -
lastItem( )→ CompositeFont -
Returns the last CompositeFont in the collection.
-
middleItem( )→ CompositeFont -
Returns the middle CompositeFont in the collection.
-
nextItem( obj)→ CompositeFont -
Returns the CompositeFont whose index follows the specified CompositeFont in the collection.
obj
CompositeFont The CompositeFont whose index comes before the desired CompositeFont. -
previousItem( obj)→ CompositeFont -
Returns the CompositeFont with the index previous to the specified index.
obj
CompositeFont The index of the CompositeFont that follows the desired CompositeFont. -
toSource( )→ string -
Generates a string which, if executed, will return the CompositeFont.