Controlling Acrobat

  • Thread starter Thread starter Steve Lang
  • Start date Start date
S

Steve Lang

Hi All,



What I want to do from a VB/VB.NET application (the steps are appropriate to
Acrobat 6.0):



1. Open a specified PDF file.

2. Access the Document | Pages | Crop dialog box and change the crop values
and page range to "All".

3. Access the Print Dialog and change the Page Scaling setting to "Fit to
Paper".

4. Print all Pages.

5. Close the PDF without saving changes.

Can/How do I do this?
If this is not the appropriate forum:
1. Sorry!
2. Where is one?

TIA and have a great day!

Steve
 
Steve,

fairly easy: COM automation...

a) import the Adobe Acrobat Control into the Toolbox
b) place a control on your GUI
c) in the editor the code complete will show you all the methods you can call.

I've just written some sample code and it works. Haven't called pdf.print(), but I suppose it should work. For details plz e-mail
me.

-markus
 
Back
Top