 | PdfiumSetGroupState Method |
Sets the state of the group to ON, OFF, or the default state.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static bool SetGroupState(
IntPtr hDoc,
IntPtr hDict,
OCGState state
)
Public Shared Function SetGroupState (
hDoc As IntPtr,
hDict As IntPtr,
state As OCGState
) As Boolean
public:
static bool SetGroupState(
IntPtr hDoc,
IntPtr hDict,
OCGState state
)
static member SetGroupState :
hDoc : IntPtr *
hDict : IntPtr *
state : OCGState -> bool
public static boolean SetGroupState(
IntPtr hDoc,
IntPtr hDict,
OCGState state
)
Patagames.Pdf.Pdfium.SetGroupState = function(hDoc, hDict, 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
BooleanTrue if the state has been set; false if any error occurred.
See Also