Link to home
Start Free TrialLog in
Avatar of lgallion
lgallion

asked on

Setting the look of Acrobat Reader in Delphi

I am thinking about embedding Acrobat Reader 7.x as an ActiveX component in my Delphi app (BDS 2006).  I am trying to do a 'thumbnail' effect and show a minuature view of the PDF pages and so I need a fairly clean display.  I got the menus turned off easily BUT I can't find any way to disable the 'Pages', 'Attachments' and 'Comments' tab, which is really cluttering things up.  Is there any way to turn this off via ActiveX (or do I need to switch to OLE).  Also any suggestions generally on settings such as setPageMode, setLayoutMode, etc. would be appreciated.
Avatar of Johnjces
Johnjces
Flag of United States of America image

If you ever figure out how to do PDF thumbnails, I would love to know!

(Actually just registering into this thread for email updates).
Avatar of atul_parmar
I m sorry but didn't get what exactly you want.

Pdf1.setPageMode('thumbs'); // other possible values -> none, bookmarks
Pdf1.setZoom(25);
Avatar of lgallion
lgallion

ASKER

Sorry if my orignal question was confusing.  What I really need is to turn off the tabs which appears on the left side of the Adobe Acrobat Reader display.  The tabs in question are labeled "Pages", "Attachments" and "Comments".  The reason I need this is that I want a small, embedded Acrobat Reader window in my app and the tab takes up a big chunk of space when you have such a small viewing area.

Thanks for the 'thumbs' tip, though.  I can't seem a list of the valid parameters for functions like setPageMode or setLayoutMode.
ASKER CERTIFIED SOLUTION
Avatar of atul_parmar
atul_parmar
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I am assuming there is no way to programatically remove the tab/navigation of the default Adobe Acrobate Reader ActiveX control and so I am going to accept atul answer.  Thanks again for your help.