Pages.Count

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: Daniel - PDF-XChange, PDF-XChange Support, Vasyl - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

Post Reply
KHentschel
User
Posts: 1
Joined: Mon Jun 24, 2013 2:41 pm

Pages.Count

Post by KHentschel »

Hello,

i work with the Viewer SDK and Visual FoxPro. In a Testform i have add the ActiveX Control, named "PDF1"

I can open a PDF with:

STORE 0 TO nActiveID, nPageCount
THISFORM.pdf1.OpenDocument("D:\Testfile.pdf",'',nActiveID)
THISFORM.pdf1.GetDocumentProperty(nActiveID, "Pages.Count", nPageCount, 0)

The Variable nPageCount do not show me the correct Count of Pages, only 0 comes as output.

What could be wrong?

Many thanks for your help

Best regards

Klaus
Post Reply