PA_PictureToEMF

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_PictureToEMF (picture; size) long

ParameterTypeDescription
picturevoid *Pointer to the picture to convert
sizelongPicture size in bytes
Function resultlongHandle 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

PA_GetLastError always returns eER_NoErr


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next