This property refers to the displayed image's memory device context
[Visual Basic]   imagekitcontrolname.ImageHdc[= LONG_PTR ]
[Visual C++]     [LONG_PTR = ]imagekitcontrolname.GetImageHdc()
[VB.NET]   imagekitcontrolname.ImageHdc[= Integer(x86) or Long(x64) ]
[C#.NET]   imagekitcontrolname.ImageHdc[= int(x86) or long(x64) ]

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

Property Value

The displayed image's memory device context.

Explanation

The ImageHdc property refers to the displayed image's memory device context. This property allows you to draw graphics and text on an image using one of the methods contained in ImageKit.PrintDraw. The ImageHdc property may be used when the Edit.EditEnable property is set to true, thus enabling the ImageKit10's edit mode, and when a raster image is set in the ImageHandle property. Note that in edit mode, graphics and text are drawn to the image data in the memory. To save those changes to the image data, execute the Edit.Modify method.

The ImageHdc property corresponds to the HdcMemory property in earlier versions of the ImageKit.

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