A set-OCG-state action: turns optional content groups on or off, or toggles them.
public sealed class PdfSetOcgStateAction : PdfAction
ISO 32000-2 §12.6.4.13, Table 217 (PDF 1.5). Changes lists the State array's changes in order;
ApplyTo(PdfOptionalContentState) computes the states the action would leave, without changing the document.
kind:method, kind:property, kind:ctor. Press Esc to clear.ChangesGets the changes of the State array, left to right: each group with the state name before it. A group before any state name, an unknown name and its groups, and an element that is neither a name nor a dictionary are skipped with a diagnostic.KindGets the type of action ActionType names in Table 201, or Unknown.PreserveRadioButtonsGets whether radio-button relationships between groups are preserved (PreserveRB); true when absent.StateGets the State array (required) as stored, or null.ApplyTo(PdfOptionalContentState)Returns the states state becomes when this action's changes are applied to it. The document is not changed.