EnumActionOCGStates
Actions, optional content
Description
Enumerates every optional-content group change in a SetOCGState action from left to right, preserving repeated groups
Syntax
Function TPDFlib.EnumActionOCGStates(ActionID: Integer; Out States: Array Of TPDFlibActionOCGStateInfo): Integer;Remarks
Call with an empty array to obtain the full count, allocate capacity, then call again to fill records
The returned optional-content group handles are normalized to the selected document and can be passed directly to the typed writer APIs
See also
TPDFlibActionOCGStateInfo, SetActionOCGStates, GetActionInfo