4D Plugin API


version 2003


4th Dimension Picture expression (basically the same as PA_Blob )

typedef struct PA_Picture
{
   long      fSize;
   PA_Handle      fHandle;
} PA_Picture;
/* a PA_Picture can contains various representation of the same picture in different formats to ensure the best display depending on which platform the picture is displayed, or if the picture is displayed on screen or on printer you can iterate throw those representations by incrementing index until an error is returned the returned string will give informations about the format of the picture (JPEG, PNG...) if you pass a NULL handle, you are just collecting informations about the picture by examining the returned string when you pass a valid handle allocated by PA_NewHandle, the handle will be filled by the specific data of the picture, in the indexed picture format. */