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

[C++Builder]   imagekitcontrolname->PrintDraw->DevMode [ = NativeUInt ]
[Delphi]   imagekitcontrolname.PrintDraw.DevMode [ = THandle ]

Reference

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

Explanation

The DevMode property refers to the handle for 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.)

You can get the handle of the DEVMODE structure of the specified printer by executing the GetDevModeHandle method or the PrintDialog method. The memory occupied by the DevMode property is released by executing the ReleaseDevModeHandle method (the property value becomes 0).

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.

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

Setting this value

This value can be set.

Retrieving this value

This value can be retrieved at runtime.

[Differences with ImageKit 7/8/9 ActiveX/VCL]

This value can be set. This value is now updated when the PrintDialog method is executed.

The ImageKit10 VCL is a product created by Newtone Corporation