Click or drag to resize

GroupSetInitialState Method

Sets the initial state (ON or OFF) of the optional-content group (OCG) object in a given configuration.

Namespace:  pdftron.PDF.OCG
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public void SetInitialState(
	Config config,
	bool state
)

Parameters

config
Type: pdftron.PDF.OCGConfig
The configuration for which to set the group's initial state.
state
Type: SystemBoolean
The new initial state, true if the state is ON, false if it is OFF.
See Also