Pages.Count

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

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

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