Versions Compared

Key

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


The total number of pages in the XFF document.

Code Block
Object.PageCount = number

Return Value

Number
Page count. 

Remarks

Applies To: XFRX#DRAW, XFRX#XML


Examples

Code Block
  
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
 


...