• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

GetFileName

Guest
Jan 20, 2017 Jan 20, 2017

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?

TOPICS
Acrobat SDK and JavaScript

Views

526

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Jan 20, 2017 Jan 20, 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.

Votes

Translate

Translate
LEGEND ,
Jan 20, 2017 Jan 20, 2017

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 23, 2017 Jan 23, 2017

Copy link to clipboard

Copied

LATEST

Thanks!  That worked like a charm. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines