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: Sorting out AV and PD layers
Conf: (P-PDF) Developers, Msg: 59343
From: jspiegel
Date: 5/29/2002 05:38 PM

Hi all,

After some help here, I've started down the path of using buttons for adding images to existing PDFs. I'm still quite new to the Acrobat world and think I'm having trouble with specifics, particularly when and how to use PD documents vs. AV documents.

I have the document in question as a PDDoc object. In order to add a button, I believe I have to open that as an AVDoc. I try to do so using:

oAVDoc = CREATEOBJECT("AcroExch.AVDoc")

This is Visual FoxPro so the syntax is similar to but not the same as VB. It does successfully create an object.

QUESTION 1: Is this an AVDoc object that it should've created?

I get an OLE Unknown Name error when I try to then do:

oAVDoc.AVDocOpenFromPDDoc( oPDDoc )

(where oPDDoc is an existing PD Document object and VFP does not qualify the type of parameter being passed like VB and C++ do)

Actually, I get the same error with every AVDoc method I try.

Am I missing the general concept on when to switch between the AV and PD layers? Anyone see what I'm missing on how to get an AVDoc to work for me?

Thanks in advance,

John

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.