This property holds the handle to the printer device context.

[Visual Basic]   imagekitcontrolname.PrintDraw.Hdc [ = Long ]
[Visual C++]     [ long = ]imagekitcontrolname.GetPrintDraw().GetHdc()

Reference

The printer device context

Explanation

The Hdc property holds the handle to the printer device context.

A device context is a link between a Windows-based application, a device driver, and an output device such as a display or printer. The printer device context can be retrieved by successfully executing the PrintCreateDC or PrintDialog methods. The retrieved printer device context can be freed by executing the PrintDeleteDC method (The Hdc property value will be 0 or NULL).

Setting this value

  This value cannot be set.

Retrieving this value

  This value can be retrieved at runtime.

 

The ImageKit8 ActiveX is a product created by Newtone Corporation