Apply(CosArray, Boolean) Method

Definition

Namespace Broadside
Assembly Broadside.dll

Applies a set-OCG-state array ([/ON g1 /OFF g2 /Toggle g3 ...]): each name sets how the groups after it change.

public PdfOptionalContentState Apply(CosArray state, bool preserveRadioButtons = true)

Parameters

state
CosArray

The State array of a set-OCG-state action.

preserveRadioButtons
Boolean

The action's PreserveRB (default true): turning a group ON turns OFF the other groups of every radio-button collection of Configuration that holds it.

Returns

PdfOptionalContentState
The new snapshot. Entries that are neither a state name nor a listed group are ignored.

Remarks

ISO 32000-2 §12.6.4.13, Table 216. The action itself is typed elsewhere; this applies its data.