PageCount Property

The total number of pages in the XFF document.

Object.PageCount = number

Return Value

Number
Page count. 

Remarks

Applies To: XFRX#DRAW, XFRX#XML


Examples

  
LOCAL m.loSession, m.loXFF, m.lnRetVal
m.loSession= xfrx("XFRX#INIT")
m.loXFF = xfrx("XFRX#DRAW")
IF m.loXFF.openDocument("output.xff")

   DEBUGOUT m.loXFF.PageCount

   m.lnRetVal = m.loSession.SetParams("output.pdf",,,,,,"PDF")
   IF m.lnRetVal = 0
      m.loSession.TransformReport(m.loXFF)
   ENDIF
ENDIF