LPrint::GetPrinterDC

Summary

Gets a Windows device context to the current default printer.

Syntax

#include "ltwrappr.h"

HDC LPrint::GetPrinterDC()

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 22.0.2023.2.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.