WebBrowser.Document returns null when loading a pdf


in webbrowser control , after loading pdf document , webbrowser.document property returning null.  when laod image, webbrowser.document having value. how can document property of webbrowser while loading pdf.

 

my intention current page , number of pages pdf document acrobat reader installed can check whether scrollbar has reached end of document

 

the forum http://social.msdn.microsoft.com/forums/en-us/winforms/thread/38d8f6b2-d9e1-4d16-9254-b3f1 53bb1f6a/ has suggested use

 

webbrowser1.document.body.scrollrectangle.height

 

any appreciated!!

 

thanks,

vkp1

you cannot use browser javascript reach through acrobat javascript. isolated each other design.

 

so suspect absence of "document" normal - there no html document. example not pdf.



More discussions in Acrobat SDK


adobe

Comments