Skip to end of metadata
Go to start of metadata

Refresh page Dec 03, 2019 02:18

Supported Clients
SmartClient WebClient NGClient

Constants Summary
Number INCH Inch length unit.
Number MM Millimeters length unit.
Number PIXELS Pixels length unit.

Constants Details

INCH

Inch length unit.

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

var form = solutionModel.getForm("someForm");
form.defaultPageFormat = solutionModel.createPageFormat(8.5,11,1,1,1,1,SM_ORIENTATION.PORTRAIT,SM_UNITS.INCH);

MM

Millimeters length unit.

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

var form = solutionModel.getForm("someForm");
form.defaultPageFormat = solutionModel.createPageFormat(215,279,25,25,25,25,SM_ORIENTATION.PORTRAIT,SM_UNITS.MM);

PIXELS

Pixels length unit.

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

var form = solutionModel.getForm("someForm");
form.defaultPageFormat = solutionModel.createPageFormat(612,792,72,72,72,72,SM_ORIENTATION.PORTRAIT,SM_UNITS.PIXELS);

  • No labels