This property refers to the handle of the pointer to the specified printer's DevMode structure.

[Visual Basic]   imagekitcontrolname.PrintDraw.DevMode [ = LONG_PTR ]
[Visual C++]     [ LONG_PTR = ]imagekitcontrolname.GetPrintDraw().GetDevMode()
[VB.NET]   imagekitcontrolname.PrintDraw.DevMode [ = Integer(x86) or Long(x64) ]
[C#.NET]   imagekitcontrolname.PrintDraw.DevMode [ = int(x86) or long(x64) ]

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

Reference

The handle of the pointer to the specified printer's DevMode structure

Explanation

The DevMode This property refers to the handle of the pointer to the specified printer's DevMode structure. (The DEVMODE structure stores information about various settings and properties of a device, such as a printer.) It is through the DevMode property that other print control properties such as Collate, ColorMode, Copies, CustomPaperHeight, CustomPaperWidth, Duplex, Orientation, PaperBin, PaperSize, XResolution, YResolution, Zoom are retrieved and set.

The memory block referred to by the DevMode property (the memory block that stores the information about various printer settings and properties) can be freed by executing the ReleaseDevModeHandle method (The DevMode property value will become 0 or NULL).


For more information about the DEVMODE structure, please refer to WindowsAPI or related manuals.

Setting this value

This value cannot be set.

Retrieving this value

This value can be retrieved at runtime.

Differences between ImageKit7/8

This property's type has changed.

The ImageKit9 ActiveX is a product created by Newtone Corporation