BBjFont

Creation Path

BBjAPI

|

+--BBjSysGui

|

+--BBjFont

Description

BBjFont is an object that represents a font, which can be used to set or retrieve the font of a BBjControl.

Creation

A BBjFont object is created through the following BBjSysGui method:

Return Value

Method

BBjFont

makeFont(stringname, intsize, intstyle)

Methods of BBjFont

Return Value

Method

string

getName()

int

getSize()

int

getStyle()

Constants

FONT_PLAIN

0

FONT_BOLD

1

FONT_ITALIC

2

FONT_UNDERLINE

16

FONT_STRIKEOUT

512

Example

sysgui! = BBjAPI().openSysGui("X0")
font! = sysgui!.makeFont("Courier New",12,BBjFont.FONT_BOLD)
print font!

See Also

BBjAPI

BBjSysGui

BBj Object Variables

BBj Object Assignment

BBj Object Error Handling

BBj Object Operators

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