Click or drag to resize

GroupGetInitialState Method

Gets the initial state.

Namespace:  pdftron.PDF.OCG
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public bool GetInitialState(
	Config config
)

Parameters

config
Type: pdftron.PDF.OCGConfig
The configuration for which to get the group's initial state.

Return Value

Type: Boolean
The initial state (ON or OFF) of the optional-content group (OCG) object in a given configuration.
Remarks
If the configuration has a BaseState of Unchanged, and the OCG is not listed explicitly in its ON list or OFF list, then the initial state is taken from the OCG's current state in the document's default context.
See Also