Click or drag to resize

PdfiumSetGroupState Method

Sets the state of the group to ON, OFF, or the default state.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static bool SetGroupState(
	IntPtr hDoc,
	IntPtr hDict,
	OCGState state
)

Parameters

hDoc  IntPtr
Handle to document. Returned by FPDF_LoadDocument(String, String) or FPDF_CreateNewDocument function.
hDict  IntPtr
Handle to the optional content group dictionary.
state  OCGState
The state to set to the group. Unchanged and Unspecified means the default state.

Return Value

Boolean
True if the state has been set; false if any error occurred.
See Also