This property refers to the device context of the ImageKit Control.
[Visual Basic]   imagekitcontrolname.Hdc[= LONG_PTR ]
[Visual C++]     [LONG_PTR = ]imagekitcontrolname.GetHdc()
[VB.NET]   imagekitcontrolname.hDC[= Integer(x86) or Long(x64) ]
[C#.NET]   imagekitcontrolname.hDC[= int(x86) or long(x64) ]

* (x86) refers to the 32 bit version, (x64) refers to the 64 bit version

Property Value

The device context of the ImageKit Control.

Explanation

The Hdc property refers to the device context of the ImageKit Control. A device context is something onto which graphics and text can be drawn. It is what you see on the screen or what is printed as output. The Hdc can therefore be thought of as the ImageKit Control's canvas. Graphics and text can be drawn on the ImageKit Control by using one of the methods contained in ImageKit.PrintDraw. Note that drawing to the Hdc is not the same as drawing to the image data. Drawing using the Hdc property can be thought of as drawing on the screen. To draw to the image data, use the ImageHdc property.

Setting this value

  This value cannot be set.

Retrieving this value

  This value can be retrieved at run-time.

Differences from ImageKit7/8

  This property's type has changed from Long to LONG_PTR

 

The ImageKit10 ActiveX is a product created by Newtone Corporation