New Forum | Previous | Next | (P-PDF) Developers
Topic: RE: How to get PDF filename from PDDOC in a plugin?
Conf: (P-PDF) Developers, Msg: 57338
Date: 5/29/2002 05:25 PM
>I am trying to create a plug-in that will create a cover page that includes
the name of the file, along with other >pertinent information. However, I
can't seem to find a way to get the PDF filename from a PDDOC object.
>Does anyone out there know how to do this?
I haven't checked the API reference but I recall that this is accomplished
using PDDocGetFile. This will return an ASFile which you can then extract
the pathname from (ASFileAcquirePathName??).
Be sure to check the API ref. as this is from memory (which isn't necessary
that great ;-) and also remember to release any paths that are 'acquire'd.