This method saves the handle to the DEVMODE structure into the file specified by the PrintFileName property.

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

Parameters

None

Return Value

Returns True if successful. Returns False if unsuccessful.

Explanation

The GetDevModeHandle method retrieves the handle to the DEVMODE structure and sets it into the DevMode property. The SaveDevModeHandle method saves the handle to the DEVMODE structure into the file specified by the PrintFileName property. The file format of the file is the same as that saved by the SavePrinterInfo method. The saved file can be used by the GetDevModeHandle, PrintCreateDC, and the SavePrinterInfo methods. For more information about the DEVMODE structure, please refer to WindowsAPI or related manuals. If the PrintFileName property has been set with just a file name then the printer file will be saved in the current folder.

The ImageKit9 VCL is a product created by Newtone Corporation