Goto specific page in PDF using C# Visual Studio -


i'm using axacropdflib.axacropdf tool toolbox , having specific pdf when click button. have separate button (button2) , textbox want use automatically move pdf page page number entered textbox when button2 pressed.

the following code isn't working , i'm not sure code use work (and no cannot use tools inside pdf reader need controls on monitor 1 , pdf displayed on montior 2, i've sorted part):

key: dsm = form2 | pdfview = pdf reader inside form2

dsm.pdfview.setcurrentpage(textbox1.text); 

this isn't working. i've tried:

dsm.pdfview.setcurrentpage = textbox1.text; 

also not working. great! thanks.

the documentation shows syntax void setcurrentpage(long npage)

you passing string in. need parse string int or long before passing in.

how parse string number

also, based on documentation original method call correct except passed in parameter of wrong type. once convert it, make same call new parameter.

here's documentation adobe


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -