BBjSystemMetrics::getFontFamilies

Description

In BBj 5.0 and higher, this BBjSystemMetrics method returns all available font families.

Syntax

Return Value

Method

BBjVector

getFontFamilies()

Parameters

None.

Return Value

Returns a BBjVector that contains all available font families.

Remarks

None.

Example

REM Return the available font families

REM Obtain the instance of the BBjAPI object
LET myAPI!=BBjAPI()

REM Open the SysGui device
SYSGUI=UNT
OPEN (SYSGUI)"X0"

REM Obtain the instance of the BBjSysGui object
LET mySysGui!=myAPI!.getSysGui()

REM Obtain the instance of the BBjSystemMetrics Object
LET mySystemMetrics! = mySysGui!.getSystemMetrics()

REM Get font families
LET myFontFamilies! = mySystemMetrics!.getFontFamilies()

REM Report font families
print "There are",myFontFamilies!.size()," font families available"
input "Press Enter to continue:",*
print myFontFamilies!

See Also

BBjAPI

BBjSysGui

Object Variables

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.