Child pages
  • PAGEORIENTATION

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Divcache
Div
iddescription
HTML Table
id
classservoy sSummary
Colgroup Tag
Col
width80px
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Constants Summary
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
LANDSCAPE
Landscape page orientation.
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
PORTRAIT
Portrait page orientation.
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)REVERSE_LANDSCAPE
styleindexdisplay:none

DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.

true
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable
id

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClient

servoy sSummary12%30%58%height: 30px;3Constants SummaryLandscape page orientation.Portrait page orientation.Reverse landscape page orientation.

HTML Table

constantclass Colgroup Tag Colcolspanservoy sDetail2width100%

Col
Table Head (thead) Table Row (tr)styleheight:30px; Table Head (th)colspan2Constants Details Table Body (tbody)ididLANDSCAPE Table Row (tr)name

Table Cell (td)id

LANDSCAPE

Table Row (tr)des Table Cell (td) DivclassidsIndent
Landscape page orientation.
Table Row (tr)ret

Table Cell (td)

Returns

divsIndentclients

classid

Supported Clients

sIndent
Number Table Row (tr)SmartClient,WebClientsam

Table Cell (td)

Table Row (tr)
idname
Table Cell (td)

REVERSE_LANDSCAPE

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Reverse landscape page orientation.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
var form = solutionModel.getForm("some_form");
form.defaultPageFormat = solutionModel.createPageFormat(792,612,72,72,72,72,SM_ORIENTATION.REVERSE_LANDSCAPE,SM_UNITS.PIXELS);
Table Row (tr)
classlastDetailRow
Table Cell (td) 

Sample

Div
classsIndent
Code Block
languagejavascript
var form = solutionModel.getForm("some_form");
form.defaultPageFormat = solutionModel.createPageFormat(792,612,72,72,72,72,SM_ORIENTATION.LANDSCAPE,SM_UNITS.PIXELS);
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idPORTRAIT
Table Row (tr)
idname
Table Cell (td)

PORTRAIT

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Portrait page orientation.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
var form = solutionModel.getForm("some_form");
form.defaultPageFormat = solutionModel.createPageFormat(612,792,72,72,72,72,SM_ORIENTATION.PORTRAIT,SM_UNITS.PIXELS);
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idREVERSE_LANDSCAPE
sIdentjavascriptlastDetailRowPORTRAITname

PORTRAIT

dessIndent
Portrait page orientation.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
REVERSE_LANDSCAPEname

REVERSE_LANDSCAPE

dessIndent
Reverse landscape page orientation.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow