TPDFlibActionOCGStateInfo

Data types

Description

Contains the requested state, reusable optional-content group handle and stable PDF object number for one /State item

Syntax

TPDFlibActionOCGStateInfo = Record State: TPDFlibOCGStateChange; OptionalContentGroupID: Integer; ObjectNumber: Integer; End;

Remarks

Writer APIs consume State and OptionalContentGroupID and ignore ObjectNumber

EnumActionOCGStates fills all three fields and returns the canonical group handle for the selected document when available

See also

EnumActionOCGStates, SetActionOCGStates, TPDFlibOCGStateChange