SetContentGroupState
IPDFDocument4 :: Content Groups

See Also
Collapse All

This method sets the optional content group state.

Syntax

HRESULT SetContentGroupState (
LONG groupIndex,
VARIANT_BOOL groupState
)
Parameters
groupIndex
Index of the content group

groupState
The state of the content group. VARIANT_TRUE if the group is visible, VARIANT_FALSE otherwise.

Return value
If successful, this method returns S_OK. If it fails, this method should return one of the error values.

Remarks

groupIndex is the value returned by the CreateContentGroup method.

See the CreateContentGroup for examples.

See Also

Reference