{hidden}
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE{hidden}
{sub-section:description|text=}{sub-section}\\
{table:id=|class=servoy sSummary}{colgroup}{column:width=80px|padding=0px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Constants Summary{th}{tr}{tbody}{tr}{td}[Number]{td}{td}[#LANDSCAPE]
Landscape page orientation.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#PORTRAIT]
Portrait page orientation.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#REVERSE_LANDSCAPE]
Reverse landscape page orientation.{td}{tr}{tbody}{table}\\
{table:id=constant|class=servoy sDetail}{colgroup}{column:width=100%|padding=0px}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Constants Details{th}{tr}{tbody:id=LANDSCAPE|class=node}{tr:id=name}{td}h6.LANDSCAPE{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:LANDSCAPE_des|trigger=button|text=}{sub-section}{sub-section:LANDSCAPE_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:LANDSCAPE_snc|trigger=button|text=}{sub-section}{sub-section:LANDSCAPE_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:LANDSCAPE_prs|trigger=button|text=}{sub-section}{sub-section:LANDSCAPE_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:LANDSCAPE_ret|trigger=button|text=}{sub-section}{sub-section:LANDSCAPE_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:LANDSCAPE_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:LANDSCAPE_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:LANDSCAPE_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:LANDSCAPE_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:LANDSCAPE_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:LANDSCAPE_sam|trigger=none}{code:language=javascript}
Div
style
display: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.
var form = solutionModel.getForm("some_form");
form.defaultPageFormat = solutionModel.createPageFormat(792,612,72,72,72,72,SM_ORIENTATION.LANDSCAPE,SM_UNITS.PIXELS);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=PORTRAIT|class=node}{tr:id=name}{td}h6.PORTRAIT{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:PORTRAIT_des|trigger=button|text=}{sub-section}{sub-section:PORTRAIT_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:PORTRAIT_snc|trigger=button|text=}{sub-section}{sub-section:PORTRAIT_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:PORTRAIT_prs|trigger=button|text=}{sub-section}{sub-section:PORTRAIT_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:PORTRAIT_ret|trigger=button|text=}{sub-section}{sub-section:PORTRAIT_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:PORTRAIT_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:PORTRAIT_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:PORTRAIT_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:PORTRAIT_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:PORTRAIT_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:PORTRAIT_sam|trigger=none}{code:language=javascript}
var form = solutionModel.getForm("some_form");
form.defaultPageFormat = solutionModel.createPageFormat(612,792,72,72,72,72,SM_ORIENTATION.PORTRAIT,SM_UNITS.PIXELS);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=REVERSE_LANDSCAPE|class=node}{tr:id=name}{td}h6.REVERSE_LANDSCAPE{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:REVERSE_LANDSCAPE_des|trigger=button|text=}{sub-section}{sub-section:REVERSE_LANDSCAPE_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:REVERSE_LANDSCAPE_snc|trigger=button|text=}{sub-section}{sub-section:REVERSE_LANDSCAPE_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:REVERSE_LANDSCAPE_prs|trigger=button|text=}{sub-section}{sub-section:REVERSE_LANDSCAPE_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:REVERSE_LANDSCAPE_ret|trigger=button|text=}{sub-section}{sub-section:REVERSE_LANDSCAPE_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:REVERSE_LANDSCAPE_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:REVERSE_LANDSCAPE_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:REVERSE_LANDSCAPE_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:REVERSE_LANDSCAPE_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:REVERSE_LANDSCAPE_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:REVERSE_LANDSCAPE_sam|trigger=none}{code:language=javascript}
var form = solutionModel.getForm("some_form");
form.defaultPageFormat = solutionModel.createPageFormat(792,612,72,72,72,72,SM_ORIENTATION.REVERSE_LANDSCAPE,SM_UNITS.PIXELS);