lPageModeRelative Property

Specifies if page addition is continuous or random.

Object.lPageModeRelative = boolean

Return Value

Boolean
If .f. (default value), then page addition is continuous. If .T., then page addition is random

Remarks

Applies To: XFRX#DRAW, XFRX#XML

XFRX Version: 19.0

See Also: AddPageRelative


Examples

LOCAL m.loXFF
m.loXFF = xfrx("XFRX#DRAW")
IF m.loXFF.CreateDocument("output.xff")
   m.loXFF.lPageModeRelative=.T.

   * create second page
   m.loXFF.AddPageRelative(82677, 116929, 0, , 2)
   m.loXFF.setColor(0, 0, 255, -1, -1, -1)
   m.loXFF.drawRectangle(100, 200, 50, 50)

   * create first page
   m.loXFF.AddPageRelative(82677, 116929, 0, , 1)
   m.loXFF.setColor(255, 0, 200, -1, -1, -1)
   m.loXFF.drawRectangle(100, 200, 50, 50)

   m.loXFF.Finalize()
ENDIF