Child pages
  • UNITS

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{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}[#INCH]
Inch length unit.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#MM]
Millimeters length unit.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#PIXELS]
Pixels length unit.{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=INCH|class=node}{tr:id=name}{td}h6.INCH{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:INCH_des|trigger=button|text=}{sub-section}{sub-section:INCH_des|trigger=none|class=sIndent}InchReplace lengthwith unit.description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:INCH_snc|trigger=button|text=}{sub-section}{sub-section:INCH_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:INCH_prs|trigger=button|text=}{sub-section}{sub-section:INCH_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:INCH_ret|trigger=button|text=}{sub-section}{sub-section:INCH_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:INCH_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:INCH_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:INCH_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:INCH_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:INCH_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:INCH_sam|trigger=none}{code:language=javascript}
var form = solutionModel.getForm("someForm");
form.defaultPageFormat = solutionModel.createPageFormat(8.5,11,1,1,1,1,SM_ORIENTATION.PORTRAIT,SM_UNITS.INCH);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=MM|class=node}{tr:id=name}{td}h6.MM{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:MM_des|trigger=button|text=}{sub-section}{sub-section:MM_des|trigger=none|class=sIndent}MillimetersReplace lengthwith unit.description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:MM_snc|trigger=button|text=}{sub-section}{sub-section:MM_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:MM_prs|trigger=button|text=}{sub-section}{sub-section:MM_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:MM_ret|trigger=button|text=}{sub-section}{sub-section:MM_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:MM_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:MM_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:MM_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:MM_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:MM_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:MM_sam|trigger=none}{code:language=javascript}
var form = solutionModel.getForm("someForm");
form.defaultPageFormat = solutionModel.createPageFormat(215,279,25,25,25,25,SM_ORIENTATION.PORTRAIT,SM_UNITS.MM);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=PIXELS|class=node}{tr:id=name}{td}h6.PIXELS{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:PIXELS_des|trigger=button|text=}{sub-section}{sub-section:PIXELS_des|trigger=none|class=sIndent}PixelsReplace lengthwith unit.description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:PIXELS_snc|trigger=button|text=}{sub-section}{sub-section:PIXELS_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:PIXELS_prs|trigger=button|text=}{sub-section}{sub-section:PIXELS_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:PIXELS_ret|trigger=button|text=}{sub-section}{sub-section:PIXELS_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:PIXELS_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:PIXELS_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:PIXELS_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:PIXELS_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:PIXELS_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:PIXELS_sam|trigger=none}{code:language=javascript}
var form = solutionModel.getForm("someForm");
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}{table}