BBjFont::getStyle

Description

Returns the an integer representing the style of the font.

Syntax

Return Value Method
int getStyle()

Parameters

None.

Return Value

Returns the sum of the following values that apply to the BBjFont:

Font Style Value
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!.getStyle()

See Also

BBjAPI

BBjSysGui

Object Variables

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