LDraw::SetDC

Summary

Sets the device context that will be used by the painting functions.

Syntax

#include "ltwrappr.h"

HDC LDraw::SetDC(hDC)

Parameters

HDC hDC

Handle of a Windows device context to be used for painting functions. The mapping mode of the device context must be MM_TEXT.

Returns

The handle of the previous DC.

Comments

The painting and drawing functions will send output to this device context. The device context must be set before using any painting or drawing functions.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LDraw::SetBitmap.

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.