Versions Compared

Key

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

Set new paper size.

Code Block
XFRXDraw::Object.FitToPaperSize(liPaperSizeIndex [, lnPageWidth [, lnPageHeight
                         [, lnOrientation [, lcRelativePos 
  
                      [, lcPageScope [, laPS ]]]]]])

...

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.

...

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

Remarks

Applies To: XFRX#DRAW

XFRX version: 22.0