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.