LBitmapBase::ConvertToWMF

#include "ltwrappr.h"

virtual HMETAFILE LBitmapBase::ConvertToWMF()

Converts a LEAD Technologies bitmap into a Windows metafile (WMF). When this function is completed, there are two copies of the drawing in memory: the WMF and the original LEAD vector. Freeing one will not affect the other.

Returns

This function will return a handle to a metafile.

Comments

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 LBitmapBase::ConvertFromWMF.

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

LEADTOOLS Raster Imaging C++ Class Library Help