LDraw::SetDC

#include "ltwrappr.h"

HDC LDraw::SetDC(hDC)

HDC hDC;

handle of a device context

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

Parameter

Description

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

LTDIS

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

LDraw::GetDC, Class Members

Topics:

Processing an Image

Example

For an example, refer to LDraw::SetBitmap.

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

LEADTOOLS Raster Imaging C++ Class Library Help