Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
L_ConvertToEMF
#include "l_bitmap.h"
L_LTDIS_API L_HENHMETAFILE L_ConvertToEMF(pBitmap)
pBITMAPHANDLE pBitmap; |
/* pointer to a bitmap */ |
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.
Parameter |
Description |
pBitmap |
Pointer to the bitmap handle referencing the bitmap to copy. |
Returns
This function will return a handle to an enhanced metafile.
Comments
This function does not support signed data images. It returns the error code ERROR_SIGNED_DATA_NOT_SUPPORTED if a signed data image is passed to this function.
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
Windows 2000 / XP/Vista.
See Also
Functions: |
|
|
|
|
|
|
Example
For an example, refer to L_ConvertFromEMF.