Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

LChange::ChangeToWMF

Show in webframe

#include "ltwrappr.h"

static HMETAFILE LChange::ChangeToWMF(pLBitmap)

LBitmapBase * pLBitmap;

/* pointer to a bitmap base object */

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

Parameter

Description

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

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.

Platforms

Win32, x64.

See Also

Functions:

Class Members, LChange::ChangeFromEMF, LChange::ChangeFromWMF, LChange::ChangeToEMF, 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::ChangeFromWMF.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.