This class represents the optional content group dictionary. This is definitively detailed in:.

The ISO PDF Specification, ISO 32000-1:2008 PDF 1.7; Table: 98, page 222.

The ISO PDF Specification, ISO 32000-2:2017 PDF 2.0; Table: 96, page 273.

This class is always an indirect object because OptionalContentPropertiesElement.EntryOCGs requires it to be so.

An optional content group (OCG) is a named object that controls whether associated content is rendered. Content associated with a group is shown when the group is on and hidden when it is off.

The Name entry provides a human-readable label for the group. This name is typically shown in a viewer's layer panel to allow users to toggle visibility.

The Intent entry constrains how the group is used. A group intended for View may be toggled freely by the user; one intended for Design may be used by authoring tools for design layer control. Multiple intents may be listed.

The Usage entry holds a dictionary that describes the real-world conditions under which the group should be on or off, such as a zoom level range, a print condition, or a language preference. Viewers and processors use this information to set group states automatically.

System.Object
    WebSupergoo.ABCpdf14.Elements.Element
       WebSupergoo.ABCpdf14.Elements.OptionalContentGroupElement

 

   
   
Method
Description
OptionalContentGroupElement Create a new OptionalContentGroupElement.
inherited methods...

 

   
   
Property
Description
EntryType Represents the "Type" entry of the optional content group dictionary object.
EntryName Represents the "Name" entry of the optional content group dictionary object.
EntryIntent Represents the "Intent" entry of the optional content group dictionary object.
EntryUsage Represents the "Usage" entry of the optional content group dictionary object.
inherited properties...