Frameworks
React Native
Flutter
Package samples
Cookbook
Version 11
Version 10
Version 9
Version 8
Version 7
Version 6
Version 5
With the introduction of PDF version 1.5 came the concept of Layers. Layers, or as they are more formally known as Optional Content Groups (OCGs), refers to sections of content in a PDF document that can be selectively viewed or hidden by document authors or consumers. This capability is useful in CAD drawings, layered artwork, maps, multi-language documents etc.
PDF OCG (Optional Content Groups) dictionary represents a collection of graphic objects that can be made visible or invisible. Any graphic content of the PDF can be made optional, including page contents, XObjects, and annotations.
Apryse SDK benefits include:
Show/hide layers
To show or hide a PDF layer in a document.
Adding a layer
To add a PDF layer in a new document.
Extract a layer
To extract a PDF layer from a document.
Did you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales