This method retrieves printer information from the handle to the DEVMODE structure.

[C++Builder]   [ Boolean = ]imagekitcontrolname->PrintDraw->GetDevModeInfo()
[Delphi]   [ Boolean = ]imagekitcontrolname.PrintDraw.GetDevModeInfo()

Parameters

None

Return Value

Returns True when successful, returns False when not successful.

Explanation

The GetDevModeInfo method retrieves printer information from the handle to the DEVMODE structure. To execute this method, the DEVMODE structure handle must be set into the DevMode property by executing the GetDevModeHandle method. Once the GetDevModeInfo method has been successfully executed, the following property values will be set from the printer information: Collate, ColorMode, Copies, CustomPaperHeight, CustomPaperWidth, Duplex, Orientation, PaperBin, PaperSize, XResolution, YResolution, Zoom. Even if you do not execute this method, the printer information can still be set in the above properties by executing the GetDevModeHandle method.

 

The ImageKit9 VCL is a product created by Newtone Corporation