Copy link to clipboard
Copied
I see "GetFileName" listed for PDDoc in the SDK documentation, but the call PDDocGetFileName is not defined and when I look at PDCalls.h there is indeed no PDDocGetFileName. Why is that? Is there another way I can obtain the file name from AVDoc or PDDoc?
Go from PDDoc to ASFile and ASPathName. There are ways to get filename, see also ASFileSys. Don't assume the default ASFileSys. It's easiest to get DIPath rather than platform path. Consider Unicode issues.
Copy link to clipboard
Copied
Go from PDDoc to ASFile and ASPathName. There are ways to get filename, see also ASFileSys. Don't assume the default ASFileSys. It's easiest to get DIPath rather than platform path. Consider Unicode issues.
Copy link to clipboard
Copied
Thanks! That worked like a charm.