Skip to main content
January 20, 2017
Beantwortet

GetFileName

  • January 20, 2017
  • 2 Antworten
  • 789 Ansichten

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?

Dieses Thema wurde für Antworten geschlossen.
Beste Antwort von 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.

2 Antworten

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.