Skip to content

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.

Notifications You must be signed in to change notification settings

ABCpdf-Team/PDF-OCG-Layers

Repository files navigation

PDF OGC Layers

.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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages