LChange::ChangeToEMF

#include "ltwrappr.h"

static HENHMETAFILE LChange::ChangeToEMF(pLBitmap)

Changes a LEAD Technologies bitmap into a Windows enhanced metafile (EMF) and, if successful, frees the bitmap.

Parameters

LBitmapBase * pLBitmap

Pointer to the bitmap handle referencing the bitmap to copy.

Returns

This function will return a handle to an enhanced metafile.

Comments

If this function is successful, pBitmap is freed.

This function allocates an enhanced metafile bitmap and copies the LEAD bitmap to the enhanced metafile.

When you no longer need the enhanced metafile, you can free it using the Windows DeleteEnhMetaFile function.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LChange::ChangeFromEMF.

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

LEADTOOLS Raster Imaging C++ Class Library Help