This method frees the handle to the DEVMODE structure.
[Visual Basic] [ Boolean
=
]imagekitcontrolname.PrintDraw.ReleaseDevModeHandle
[Visual C++] [
BOOL =
]imagekitcontrolname.GetPrintDraw().ReleaseDevModeHandle()
Parameters
None
Return Value
Returns True (nonzero) if successful. Returns False (0) if unsuccessful.
Explanation
The GetDevModeHandle method retrieves the handle to the DEVMODE structure and sets it into the DevMode property. The ReleaseDeveModeHandle method frees the DEVMODE structure handle from the memory.