This method frees the handle to the DEVMODE structure and the handle to the DEVNAMES structure.

[Visual Basic]   [ Boolean = ]imagekitcontrolname.PrintDraw.ReleaseDevModeHandle
[Visual C++]     [ BOOL = ]imagekitcontrolname.GetPrintDraw().ReleaseDevModeHandle()
[VB.NET]   [ Boolean = ]imagekitcontrolname.PrintDraw.ReleaseDevModeHandle()
[C#.NET]   [ Boolean = ]imagekitcontrolname.PrintDraw.ReleaseDevModeHandle()

Parameters

None

Return Value

Returns True (nonzero) if successful. Returns False (0) if unsuccessful.

Explanation

The ReleaseDeveModeHandle method frees the handle to the DEVMODE and DEVNAMES structures. These handles are occupied by the DevMode and DevNames properties acquired by executing the GetDevModeHandle method and the PrintDialog method.

Differences between ImageKit7/8/9

When this method succeeds, the memory occupied by the DevNames property is also released in addition to the DevMode property being released.

The ImageKit10 ActiveX is a product created by Newtone Corporation