A collection of fonts.
Methods
FontanyItem ()
Returns any Font in the collection.
number count ()
Displays the number of elements in the Font.
Array of FonteveryItem ()
Returns every Font in the collection.
FontfirstItem ()
Returns the first Font in the collection.
Fontitem (index:
any)
Returns the Font with the specified index or name.
| Parameter | Type | Description |
|---|---|---|
| index | Long Integer String |
The index or name. Can accept: Long Integer or String. |
FontitemByName (name:
string)
Returns the Font with the specified name.
| Parameter | Type | Description |
|---|---|---|
| name | string | The name. |
Array of FontitemByRange (from:
any, to:
any)
Returns the Fonts within the specified range.
| Parameter | Type | Description |
|---|---|---|
| from | Font Long Integer String |
The Font, index, or name at the beginning of the range. Can accept: Font, Long Integer or String. |
| to | Font Long Integer String |
The Font, index, or name at the end of the range. Can accept: Font, Long Integer or String. |
FontlastItem ()
Returns the last Font in the collection.
FontmiddleItem ()
Returns the middle Font in the collection.
FontnextItem (obj:
Font)
Returns the Font whose index follows the specified Font in the collection.
| Parameter | Type | Description |
|---|---|---|
| obj | Font | The Font whose index comes before the desired Font. |
FontpreviousItem (obj:
Font)
Returns the Font with the index previous to the specified index.
| Parameter | Type | Description |
|---|---|---|
| obj | Font | The index of the Font that follows the desired Font. |
string toSource ()
Generates a string which, if executed, will return the Font.
Element of:
Application.fonts
Document.fonts