TextFonts

A collection of fonts.

Methods:

getByName, getCurrentFont, getFontByName, isFontAvailable

Property Listing

Property

Type

Access

Description

length

Int

readonly

Number of elements in the collection.

parent

 

readonly

The object's container.

typename

String

readonly

The class name of the object.

Method Listing

TextFont getByName (name:String)

Get the first element in the collection with the provided name.

Parameter

Type

Description

name

String

 

String getCurrentFont ()

Returns the current font name.

TextFont getFontByName (fontName:String)

Get the Text Font with the font name , if not avaiable it will create the substitute font.

Parameter

Type

Description

fontName

String

The name of the font to find or create substitute.

Boolean isFontAvailable (fontName:String)

Check if any original font is present with the given name.

Parameter

Type

Description

fontName

String

The name of the font to find.

Object of

Application.textFonts