Child pages
  • UNITS

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
{hidden}
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: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}[#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:padding=0px|width=100%}{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}{tr:id=des}{td}{sub-section:INCH_des|text=|trigger=button}{sub-section}{sub-section:INCH_des|trigger=none|class=sIndent}Inch length unit.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:INCH_snc|text=|trigger=button}{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|text=|trigger=button}{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|text=|trigger=button}{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|text=|trigger=button}{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|text=|trigger=button}{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|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:INCH_sam|trigger=none}{code:language=javascript}


HTML Table
classservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Constants Summary
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#INCH
Inch length unit.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#MM
Millimeters length unit.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#PIXELS
Pixels length unit.

HTML Table
idconstant
classservoy sDetail
Colgroup Tag
Column
padding0px
width100%

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Constants Details
Table Body (tbody)
idINCH
classnode
Table Row (tr)
idname
Table Cell (td)
INCH
Table Row (tr)
iddes
Table Cell (td)
Inch length unit.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

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}{tr:id=des}{td}{sub-section:MM_des|text=|trigger=button}{sub-section}{sub-section:MM_des|trigger=none|class=sIndent}Millimeters length unit.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:MM_snc|text=|trigger=button}{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|text=|trigger=button}{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|text=|trigger=button}{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|text=|trigger=button}{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|text=|trigger=button}{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|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:MM_sam|trigger=none}{code:language=javascript}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idMM
classnode
Table Row (tr)
idname
Table Cell (td)
MM
Table Row (tr)
iddes
Table Cell (td)
Millimeters length unit.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

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}{tr:id=des}{td}{sub-section:PIXELS_des|text=|trigger=button}{sub-section}{sub-section:PIXELS_des|trigger=none|class=sIndent}Pixels length unit.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:PIXELS_snc|text=|trigger=button}{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|text=|trigger=button}{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|text=|trigger=button}{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|text=|trigger=button}{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|text=|trigger=button}{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|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:PIXELS_sam|trigger=none}{code:language=javascript}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idPIXELS
classnode
Table Row (tr)
idname
Table Cell (td)
PIXELS
Table Row (tr)
iddes
Table Cell (td)
Pixels length unit.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

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}
Table Row (tr)
classlastDetailRow
Table Cell (td)