class HexaPDF:: Type:: OptionalContentMembership
Parent | HexaPDF::Dictionary |
---|
Represents an optional content membership dictionary.
A membership dictionary allows more complex visibility policies, like:
-
Content
that should be visible when a certain optional content group is off instead of on. -
Content
that should be visible when all of a number of OCGs are on.
See: PDF2.0 s8.11.2.2
Field Definitions
Name | Type/Allowed Values | Required | Default Value |
---|---|---|---|
Type | Symbol | true | :OCMD |
OCGs | HexaPDF::Type::OptionalContentGroup or HexaPDF::PDFArray or Hash or Array | false | nil |
P | Symbol One of: :AllOn, :AnyOn, :AnyOff, :AllOff | false | :AnyOn |
VE | HexaPDF::PDFArray or Array | false | nil |