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
)
Public Sub SetInitialState (
config As Config,
state As Boolean
)
public:
virtual void SetInitialState(
[InAttribute] Config^ config,
[InAttribute] bool state
) sealed
function SetInitialState(config, 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