Details

Using VB.NET I need to load a pdf from a blob field in a MySQL database, and display it. It seems that the only way to do this is to save my byte array to a file, and then use AxAcroPDF.LoadFile(filename) to display it on my form. Unfortunately I didn't wish to save the file, so if a way around this can be found... PLEASE let me know! However, the problem I'm really here about is: I wish to find how many pages are in the document, so that I can display a label with "Page x of y" message and so that I can use my own paging buttons. There are lovely little AxAcroPDF.gotoNextPage, etc. functions, but nothing that'll tell me how many pages my document has! Also, I wish to show what zoom level my document is at, but can't seem to find it. Any help with this will be GREATLY appreciated! Thanks

Use the RSS button to subscribe to comments for this request.

close this
Interested in seeing a response to this question? Vote for it!
Vote (2 votes)
Report abuse

Related recipes