LChange::ChangeToEMF

#include "ltwrappr.h"

static HENHMETAFILE LChange::ChangeToEMF(pLBitmap)

LBitmapBase * pLBitmap;

/* pointer to a bitmap base object*/

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

Parameter

Description

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

LTKRN

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

See Also

Functions:

Class Members, LChange::ChangeFromEMF, LChange::ChangeFromWMF, LChange::ChangeToWMF, LBitmapBase::ConvertFromEMF, LBitmapBase::ConvertFromWMF, LBitmapBase::ConvertToWMF, LBitmapBase::ConvertToEMF

Topics:

Raster Image Functions: Input and Output
Loading and Saving Images

Example

For an example, refer to LChange::ChangeFromEMF.