Child pages
  • FONTSTYLE
Skip to end of metadata
Go to start of metadata

Refresh page Mar 29, 2024 16:00

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

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

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

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

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);

  • No labels