L_ChangeToWMF

#include "l_bitmap.h"

L_LTDIS_API L_HMETAFILE L_ChangeToWMF(pBitmap)

pBITMAPHANDLE pBitmap;

pointer to a bitmap

Changes a LEAD Technologies bitmap into a Windows metafile (WMF) and, if successful, frees the bitmap.

Parameter

Description

pBitmap

Pointer to the bitmap handle referencing the bitmap to copy.

Returns

This function will return a handle to a 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.

If this function is successful, pBitmap is freed.

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.

Required DLLs and Libraries

LTDIS

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.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C API Help