ImageMan DLL Suite Version 8Submit feedback on this topic   

ImgGetWMF

HANDLE IMAPI ImgGetWMF (hImage, lpRect)

This functions returns a handle to a Windows Metafile that represents hImage. This function is only valid for vector images.

 

Parameter

Type

Description

hImage

HANDLE

Identifies the image.

lpRect

LPRECT

Points to a rectangle which will receive the Metafile's bounding box. This is necessary to display the Metafile with the proper aspect ratio.

 

Return Value

The return value is a handle to a Windows Metafile on success, a NULL handle on failure.

Comments

This function should only be called for images which have the IMG_DISP_VECTOR flag set. Note that this function will load the Metafile if it isn't already loaded (or has been explicitly unloaded).

 

 


© 1995-2004 Data Techniques, Inc. All rights reserved.