Planet PDF Forum Archive

Planet PDF ForumWowsers! This is page is old, head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner to in-depth developer and pre-press discussions. If you wish to continue... one & two archive covers 1999-2011 (160,000 pages).


New Forum | Previous | Next | (P-PDF) Developers


Topic: using Visual basic to modify pdf (Via Email)
Conf: (P-PDF) Developers, Msg: 78824
From: chika
Date: 1/1/2003 08:47 AM


I need to write some code (VB) that will modify pdf documents page charactersitics i.e I need to resize the page .I need a batch utility to take PDFs and change them so that when they are opened they fit into the window they are opened up in. i.e if displayed within a web browser, to resize themselves automatically to "fit to the screen".

If I was to do this manually in Acrobat these are the steps I would follow:

1) Open the PDF in Adobe Acrobat

2) From the file menu choose, document security, and make sure

the security settings are set that you can make changes to the

PDF.

3) From the document menu choose, SET PAGE ACTION.

4) In the page actions dialogue box, click ADD, (on the right

side)

5) In the add an action dialogue box, click the drop down list

and choose EXECUTE MANU ITEM (which is the first in the list),

then click EDIT MENU ITEM button.

6) In the menu item selection dialogue, choose the view menu and

click FIT IN WINDOW and click OK, now back to the add an action

dialogue click SET ACTION button. Now back to the page actions

dialogue box click OK.

7) Save the changes to your PDF. (file menu and save)



Do you know how I can do this in VB, iI have been told I can use an application object but I do not know how to use the adobe app object in VB.I am an intermediate VB programmer.

Please Heeeelp.

Chika



---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

PDF In-Depth Free Product Trials Ubiquitous PDF

Debenu Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link...

Download free demo

Debenu PDF Tools Pro

It's simple to use and will let you preview and edit PDF files, it's a Windows application that makes...

Download free demo

Back to the past, 15 years ago! Open Publish 2002

Looking back to 2002, it's amazing how much of the prediction became a reality. Take a read and see what you think!

September 14, 2017
Platinum Sponsor





Search Planet PDF
more searching options...
Planet PDF Newsletter
Most Popular Articles
Featured Product

Debenu PDF Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link control. Take Acrobat to the next level.

Features

Adding a PDF Stamp Comment

OK, so you want to stamp your document. Maybe you need to give reviewers some advice about the document's status or sensitivity. This tip from author Ted Padova demonstrates how to add stamps with the Stamp Tool along with related comments.