LChange::ChangeToWMF

#include "ltwrappr.h"

static HMETAFILE LChange::ChangeToWMF(pLBitmap)

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

Parameters

LBitmapBase * pLBitmap

Pointer to the bitmap object class referencing the bitmap to copy.

Returns

This function will return a handle to a Metafile.

Comments

If this function is successful, pBitmap is freed.

This function allocates a Metafile bitmap and copies the LEAD bitmap to the Metafile.

When you no longer need the Metafile, you can free it using the Windows DeleteMetaFile function.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LChange::ChangeFromWMF.

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

LEADTOOLS Raster Imaging C++ Class Library Help