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

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

Reference

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

Explanation

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

By executing the GetDevModeHandle method or PrintDialog method, you can obtain the handle of the DEVNAMES structure in addition to the handle of the DEVMODE structure. The memory occupied by the DevNames property is released by executing the ReleaseDevModeHandle method (the property value becomes 0).

If the DevNames property is valid, you can get the printer name and port name by executing the GetDevNamesInfo method.

For more information about the DEVNAMES 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.

The ImageKit10 VCL is a product created by Newtone Corporation