The name of the application or process that created this configuration.
Can be null
if unspecified.
Retrieves an Optional Content Group (OCG) by its unique identifier.
The corresponding OptionalContentGroup
, or throws an error if not found.
The ID of the content group.
Retrieves all Optional Content Groups (OCGs) defined in the document.
An object where the keys are group IDs and the values are OptionalContentGroup
instances.
Retrieves the order in which Optional Content Groups should be displayed in the layers panel.
This can be:
name
and an order
, where order
is a list of grouped layers.The configured display order of the groups.
Checks whether an Optional Content Group (OCG) is currently visible.
true
if the group is visible, otherwise false
.
The group instance or its ID.
A user-friendly name for this configuration.
Can be null
if unnamed.
Defines the scaling factor applied when viewing optional content. This is used to determine the effective visibility of OCGs based on zoom levels.
Represents an Optional Content Configuration (OCConfig) in a PDF document. This configuration defines the visibility and behavior of Optional Content Groups (OCGs).
Based on ISO 32000-2, an Optional Content Configuration manages: