#include "l_bitmap.h"
L_LTDIS_API L_HENHMETAFILE L_ConvertToEMF(pBitmap)
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.
Pointer to the bitmap handle referencing the bitmap to copy.
This function will return a handle to an enhanced metafile.
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
Win32, x64.
For an example, refer to L_ConvertFromEMF.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document