[Raku PDF Project] / [PDF-Class Module]
/Type /OCG - Optional Content Group
(Required) The name of the optional content group, suitable for presentation in a reader’s user interface.
(Optional) A single intent name or an array containing any combination of names. PDF defines two names, View and Design, that may indicate the intended use of the graphics in the group. A conforming reader may choose to use only groups that have a specific intent and ignore others. Default value: View.
Optional Content Usage dictionary
Optional Content Creator Info dictionary
A text string specifying the application that created the group.
A name defining the type of content controlled by the group.
Optional) A dictionary used by the creating application to store application-specific data associated with this optional content group.
Optional Content Language Info dictionary
A text string that specifies a language and possibly. For example, es-MX represents Mexican Spanish
name whose values shall be either ON or OFF. Default value: OFF.
Optional Content Export control dictionary
name whose values shall be either ON or OFF. Default value: OFF.
This value shall indicate the recommended state for content in this group when the document (or part of it) is saved by a conforming reader to a format that does not support optional content (for example, a raster image format).
Optional Content Zoom control dictionary
The minimum recommended magnification factor at which the group shall be ON. Default value: 0.
The magnification factor below which the group shall be ON. Default value: infinity.
Optional) A dictionary specifying a range of magnifications at which the content in this optional content group is best viewed.
Optional Content Print control dictionary
A name object specifying the kind of content controlled by the group; for example, Trapping, PrintersMarks and Watermark.
A name that shall be either ON or OFF, indicating that the group shall be set to that state when the document is printed from a conforming reader.
Optional) A dictionary specifying that the content in this group is shall be used when printing.
Optional Content View control dictionary
(Optional) A dictionary that shall have a single entry, ViewState, a name that has a value of either ON or OFF,
Optional Content User info dictionary
A name object that shall be either Ind (individual), Ttl (title), or Org (organization).
A text string or array of text strings representing the name(s) of the individual, position or organization.
Optional) A dictionary specifying one or more users for whom this optional content group is primarily intended
A dictionary declaring that the group contains a pagination artifact. It shall contain one entry, Subtype, whose value shall be a name that is either HF (header/footer), FG (foreground image or graphic), BG (background image or graphic), or L (logo).