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:

Description

A constant accessed from the BBjSysGui object.

Style

PLAIN

BOLD

ITALIC

UNDERLINE

STRIKEOUT   

Number

0

1

2

16

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.