View.setPageSize


setPageSize(width, height, paperCode, isLandscape, left, bottom, right, top)

Sets the size of paper, and margins, that will be used to print

widthdoublewidth in mm
heightdoubleheight in mm
paperCodeinteger paper size code e.g. 8-A3, 9-A4
isLandscapebooleanPaper orientation Landscape=True, Portrait=False
leftdoubleleft margin in mm
bottomdoublebottom margin in mm
rightdoubleright margin in mm
topdoubletop margin in mm
Return valuenone 

Back to View

Back to Overview