Supported Clients
SmartClient
WebClient
NGClient

Constants Summary
Number
BOLD
Bold font style.
Number
BOLD_ITALIC
Bold and italic font style.
Number
ITALIC
Italic font style.
Number
PLAIN
Plain(normal) font style.

Constants Details

BOLD

Bold font style.

Returns

Number

Supported Clients

SmartClient,WebClient,NGClient

Sample

var form = solutionModel.getForm("someForm");
var component = form.getComponent("someComponent")
component.fontType = solutionModel.createFont('Arial',SM_FONTSTYLE.BOLD,12);

BOLD_ITALIC

Bold and italic font style.

Returns

Number

Supported Clients

SmartClient,WebClient,NGClient

Sample

var form = solutionModel.getForm("someForm");
var component = form.getComponent("someComponent")
component.fontType = solutionModel.createFont('Arial',SM_FONTSTYLE.BOLD_ITALIC,20);

ITALIC

Italic font style.

Returns

Number

Supported Clients

SmartClient,WebClient,NGClient

Sample

var form = solutionModel.getForm("someForm");
var component = form.getComponent("someComponent")
component.fontType = solutionModel.createFont('Arial',SM_FONTSTYLE.ITALIC,14);

PLAIN

Plain(normal) font style.

Returns

Number

Supported Clients

SmartClient,WebClient,NGClient

Sample

var form = solutionModel.getForm("someForm");
var component = form.getComponent("someComponent")
component.fontType = solutionModel.createFont('Arial',SM_FONTSTYLE.PLAIN,10);