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.
L_LTDIS_API L_HMETAFILE L_ConvertToWMF(pBitmap)
Pointer to the bitmap handle referencing the bitmap to copy.
This function will return a handle to a 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 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.
For an example, refer to L_ConvertFromWMF.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries