LPrint::GetPrinterDC

#include "ltwrappr.h"

HDC LPrint::GetPrinterDC()

Gets a Windows device context to the current default printer.

Returns

Handle to the default printer device context.

NULL if there was an error.

Comments

You are responsible for releasing the device context when it is no longer needed. You can do this using the Windows function DeleteDC().

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to LPrint::Print.

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.