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

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 18 Next »

Refresh page May 02, 2024 18:31

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