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

The ISO PDF Specification, ISO 32000-1:2008 PDF 1.7; Table: 99, page 223.

The ISO PDF Specification, ISO 32000-2:2017 PDF 2.0; Table: 97, page 275.

An optional content membership dictionary (OCMD) combines the states of one or more optional content groups through a logical expression to determine whether associated content is visible.

The OCGs entry lists the groups whose states are evaluated. The list may contain individual OCG references or nested arrays for complex expressions.

The P entry defines the policy applied to the listed groups. Policies include AllOn (all groups must be on), AllOff (all must be off), AnyOn (at least one must be on), and AnyOff (at least one must be off).

The VE entry, added in PDF 2.0, provides a visibility expression tree. This allows arbitrary Boolean combinations of group states using AND, OR, and NOT operators, extending the simpler P-based policy.

System.Object
    WebSupergoo.ABCpdf14.Elements.Element
       WebSupergoo.ABCpdf14.Elements.OptionalContentMembershipElement

 

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

 

   
   
Property
Description
EntryType Represents the "Type" entry of the optional content membership dictionary object.
EntryOCGs Represents the "OCGs" entry of the optional content membership dictionary object.
EntryP Represents the "P" entry of the optional content membership dictionary object.
EntryVE Represents the "VE" entry of the optional content membership dictionary object.
inherited properties...