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

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

Parameters

None

Return Value

Returns True when successful, returns False when not successful.

Explanation

The GetDevNamesInfo method retrieves printer information from the handle to the DEVNAMES structure.

To execute the GetDevNamesInfo method, you need to get the DevNames property with the GetDevModeHandle method. If it succeeds, the PrinterName and PortName properties will be set. Even if you do not execute this method, if you execute the GetDevModeHandle method and succeed, the string information will be set automatically.

 

The ImageKit10 VCL is a product created by Newtone Corporation