Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Current »

Set new paper size.

Object.ChangePaperSize(liPaperSizeIndex [, lnPageWidth [, lnPageHeight
                       [, lnOrientation [, lcRelativePos 
                       [, lcPageScope [, laPS ]]]]]])

Parameters

liPaperSizeIndex
   Paper size index.

lnPageWidth
  Paper width in FRU.

lnPageHeight
  Paper length in FRU.

lnOrientation
 Paper orientation. Allowed values are 0 (portrait), 1 (landscape), 2 (reverse), 3 (nochange).

lcRelativePos
  Define new position of content, values can be: "left", "center", "right", "top", "middle", "bottom" or their combination sepparated by comma.

lcPageScope
 Contains the pages numbers separated by commas and ranges separated by dashes, e.g.: “1,2,5-6,8,20-30” to apply the transformation to.

laPS
 A array  contains papers size. If the parameter is empty, then XFRX use internal list of paper size.

Return values

.F. ... paper size was not changed
.T. ... paper size was changed

Remarks

Applies To: XFRX#DRAW

XFRX version: 22.0


  • No labels