GeezerVison is showing github.com — GitHub - ABCpdf-Team/PDF-OCG-Layers: Application for viewing, examination and manipulation of PDF OCG (Optional Content Group) layers. These are the layers you see in PDF documents for which you can turn visibility on and off. However OCG layers are more complex than simple on-off which is why you need an application to see the structure.
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
|
Repository files navigation
.NET Windows Forms project demonstrating how to create and set visibility for PDF layers - Optional Content Groups - OCGs.
This code sample shows how to:
- Create simple layers
- Create nested layers
- Create membership layers
- Load a PDF containing layers
- Annotate the layers that exist
- Redact or delete layers that are invisible
- Save the final PDF
In the screenshot below you can see found nested layers with the layer visibility for 'Layer 4' set to off. This implicitly sets the visibility of 'Layer 5' to off because it is nested. The checkboxes on the right allow you to view the OCG structure and set OCG visibility.

The ABCpdf Team
About
Application for viewing, examination and manipulation of PDF OCG (Optional Content Group) layers. These are the layers you see in PDF documents for which you can turn visibility on and off. However OCG layers are more complex than simple on-off which is why you need an application to see the structure.
Topics
Resources
Stars
5 stars
Watchers
1 watching
Forks