I display PDF documents in my application using Acrobat ActiveX. I want to know whether it is possible to disable or hide bookmarks (and pages, search, comments, attachments to the left of the panel) in PDF-Adobe Reader when showing pdf?
I hope this helps you.
// load pdf file viewer.LoadFile(somePath); // hide top toolbar viewer.setShowToolbar(false); // hide navigation bar viewer.setPageMode("none");
'viewer' is an Adobe Reader ActiveX control (AcroPDFLib).
I searched a lot for the answer to this question, and the best I could find is explained in this post:NorthCode Forum Post
, , PageMode , . . , , , , , .
, , , ...
the solution is to add the ending path file "# toolbar = 0", like this
axAcroPdf1.scr="c:/mifile.pdf"+"#toolbar=0"
In addition, you can add other properties separating "&"