Skip to content

Looking for approach to 'flattening' PDFs (suspected jargon conflicts inside) #3571

Discussion options

You must be logged in to vote

Layers in a PDF are used to show / hide certain objects. Depending on the PDF creators effort, this become quite sophisticated.
Often, CAD/CAM exports to PDF embody ways to show or hide construction drawings details, or multi-language documents may support switching between the different languages etc.

Hidden layers are objects whose display is currently switched OFF. This happens via so-called OCGs (Optional Content Groups) - simple normal PDF objects whose meaning in life is to be ON or OFF - nothing else.
Other objects like the mentioned ones and several others (images, annotations, ...) may be assigned an OCG. They will then be shown or hidden when their OCG is switched ON respectivel…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Evan0000000000
Comment options

Answer selected by Evan0000000000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants