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

How to get PDOCG from PDEElement?

New Here ,
Mar 19, 2019 Mar 19, 2019

Copy link to clipboard

Copied

I am trying to get OCG from PDEElement using PDEElementGetOCMD and PDOCMDGetOCGs however, I am finding return value of PDEElementGetOCMD  always NULL though all objects in PDF are layered.

Please help

Jaydeep

TOPICS
Acrobat SDK and JavaScript

Views

394

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
Adobe Employee ,
Mar 19, 2019 Mar 19, 2019

Copy link to clipboard

Copied

LATEST

Are you seeing this for EVERY PDF that you try or just one?

GetOCMD will only return a valid OCMD if there is one. Perhaps the file you are looking at doesn’t use them and only uses simple OCGs.

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