Changes a LEAD Technologies bitmap into a Windows enhanced metafile (EMF) and, if successful, frees the bitmap.
static HENHMETAFILE LChange::ChangeToEMF(pLBitmap)
Pointer to the bitmap handle referencing the bitmap to copy.
This function will return a handle to an enhanced metafile.
If this function is successful, pBitmap is freed.
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.
For an example, refer to LChange::ChangeFromEMF.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries