In PDF everything is in the format of /name. I couldn't find a /Layers throughout the document. If I want to look for all the layers what key should I look for?
Asked
Active
Viewed 1,049 times
1
-
What do you mean by layers? – mkl Dec 04 '15 at 21:04
1 Answers
4
PDF layers are formally known as "Optional Content Groups" and are described in section 4.10 of the PDF Reference. The object types you should be looking for are 'OCG' for a simple group or 'OCMD' for a more complex dictionary.

Brian Duddy
- 343
- 1
- 11