|
![]() |
![]() |
version 2003
PA_PictureToEMF (picture; size) → long
Parameter | Type | Description | |
picture | void * | → | Pointer to the picture to convert |
size | long | → | Picture size in bytes |
Function result | long | ← | Handle to a EMF picture (HEMF) |
Description
The routine
PA_PictureToEMF
converts a PICT picture to a HEMF picture.
Convert a PICT to a MetaFile picture can be especially useful under Windows.
Pass a pointer to the data of the picture in
picture
, and the picture size in bytes in
size
. The routine converts the picture and returns a handle to the new picture.
This handle belongs to the plug-in
, it is the plug-in's responsibility to dispose of it (
PA_DisposeHandle
) once the EMF is no longer needed.
See Also
No reference.
Error Handling
always returns
eER_NoErr