Skip to end of metadata
Go to start of metadata

Refresh page Nov 14, 2019 23:20

Supported Clients
SmartClient WebClient

Constants Summary
Number LANDSCAPE Landscape page orientation.
Number PORTRAIT Portrait page orientation.
Number REVERSE_LANDSCAPE Reverse landscape page orientation.

Constants Details

LANDSCAPE

Landscape page orientation.

Returns

Supported Clients

SmartClient,WebClient

Sample

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

PORTRAIT

Portrait page orientation.

Returns

Supported Clients

SmartClient,WebClient

Sample

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

REVERSE_LANDSCAPE

Reverse landscape page orientation.

Returns

Supported Clients

SmartClient,WebClient

Sample

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

  • No labels