1

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?

Tobias Kienzler
  • 21,611
  • 21
  • 111
  • 204
user5495269
  • 147
  • 5

1 Answers1

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
  • 328
  • 1
  • 11