{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:padding=0px|width=80px}{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:padding=0px|width=100%}{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}{tr:id=des}{td}{sub-section:LANDSCAPE_des|text=|trigger=button}{sub-section}{sub-section:LANDSCAPE_des|trigger=none|class=sIndent}Landscape page orientation.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:LANDSCAPE_snc|text=|trigger=button}{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|text=|trigger=button}{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|text=|trigger=button}{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|text=|trigger=button}{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|text=|trigger=button}{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|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section: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.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}{tr:id=des}{td}{sub-section:PORTRAIT_des|text=|trigger=button}{sub-section}{sub-section:PORTRAIT_des|trigger=none|class=sIndent}Portrait page orientation.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:PORTRAIT_snc|text=|trigger=button}{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|text=|trigger=button}{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|text=|trigger=button}{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|text=|trigger=button}{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|text=|trigger=button}{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|text=|trigger=button}{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}{tr:id=des}{td}{sub-section:REVERSE_LANDSCAPE_des|text=|trigger=button}{sub-section}{sub-section:REVERSE_LANDSCAPE_des|trigger=none|class=sIndent}Reverse landscape page orientation.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:REVERSE_LANDSCAPE_snc|text=|trigger=button}{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|text=|trigger=button}{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|text=|trigger=button}{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|text=|trigger=button}{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|text=|trigger=button}{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|text=|trigger=button}{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);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}