SetCurrentPageProc()

Hi,
This question is related to this posting:
http://groups.google.com/group/pdfnet-sdk/browse_thread/thread/6bfd6f7f397f3b97

I’ve been trying to the SetCurrentPageProc() routine working properly so that a text Label in my C# form gets updated with the current page number.

In my status update routine I set the text of the Label object to be “Page: x of y” where x and y are parameters to the function. When I run through this code in debug mode, every time I try to run this line of code, the program stops responding.

I noticed that in the PDFView sample code, in the version I have, the lines containing SetCurrentPageProc are commented out. Is there a known problem or am I doing something wrong?

Thanks,
-Greg

Hi Greg,

What is the version of PDFNet that you are using? Using the currently
available version (http://www.pdftron.com/downloads.html)
SetCurrentPageProc in PDFView sample seems to be working as expected.

Rob