This question is related to this posting:

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?


Hi Greg,

What is the version of PDFNet that you are using? Using the currently
available version (
SetCurrentPageProc in PDFView sample seems to be working as expected.