Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Transform content to new paper size.


Info

This method was added in XFRX 22.0

...

Code Block
XFRXDraw::FitToPaperSize(liPaperSizeIndex [, lnPageWidth [, lnPageHeight [, 
                         [, lcPageScope [, laPS ]]]])


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

Parameters:

liPaperSizeIndex
   Paper size index.

lnPageWidth
  Paper width in FRU.

tlnPageHeight
  Paper length in FRU.

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.

...