class HexaPDF::Type::OptionalContentConfiguration::UsageApplication


Represents an optional content usage application dictionary.

This dictionary is used for the elements in the /AS array of an optional content configuration dictionary. It specifies how a PDF processor should use the usage entries of OCGs to automatically change their state based on external factors (like magnifacation factor or language).

See: PDF2.0 s8.11.4.4

Field Definitions

NameType/Allowed ValuesRequiredDefault Value
One of: :View, :Print, :Export
OCGsHexaPDF::PDFArray or Arrayfalse[]
CategoryHexaPDF::PDFArray or Arraytruenil