Skip to main content
January 20, 2017
Answered

GetFileName

  • January 20, 2017
  • 1 reply
  • 779 views

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?

This topic has been closed for replies.
Correct answer Test Screen Name

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.

1 reply

Test Screen NameCorrect answer
Legend
January 21, 2017

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.

January 23, 2017

Thanks!  That worked like a charm.