SetFitAndChange Method

SetFitAndChange Method

Set effect to "Fit and Change".

Object.SetFitAndChange(liPaperIndexFit [,liPaperIndexChange [, luOrientaion [, lcRelativePos]]])

Parameters

liPaperIndexFit
 Paper size index with content size adjustment.

liPaperIndexChange
  Paper size index for paper's change.

luOrientaion
  Page orientation. Allowed values are:

Value

 

Description

Value

 

Description

"portrait"

0

Page orientation will be Portrait.

"landscape"

1

Page orientation will be Landscape.

"reverse"

2

Page orientation will be reverted.

"nochange"

3

Page orientation will not be change.

lcRelativePos
  Define new position of content, values can be -  or their combination sepparated by comma.

Value

Description

Value

Description

"left"

Content will be align to left.

"center"

Content will be align to center.

"right"

Content will be align to right.

"top"

Content will be align to top.

"middle"

Content will be align to middle.

"bottom"

Content will be align to bottom.

Remarks

Applies To: EFFECT Object

XFRX version: 22.0