LBitmapBase::ConvertToEMF (original) (raw)
Summary
Converts a LEAD Technologies bitmap into a Windows enhanced metafile (EMF). When this function is completed, there are two copies of the drawing in memory: the EMF and the original LEAD vector. Freeing one will not affect the other.
Syntax
#include "ltwrappr.h"
virtual HENHMETAFILE LBitmapBase::ConvertToEMF()
Returns
This function will return a handle to an enhanced metafile.
Comments
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.
Platforms
Win32, x64.
See Also
Functions
- LChange::ChangeFromEMF
- LChange::ChangeFromWMF
- LChange::ChangeToEMF
- LChange::ChangeToWMF
- LBitmapBase::ConvertFromWMF
- LBitmapBase::ConvertToWMF
- LBitmapBase::ConvertFromEMF
- Class Members
Topics
Example
For an example, refer to LBitmapBase::ConvertFromEMF.
LEADTOOLS Raster Imaging C++ Class Library Help