version 2003
PA_SendWebPicture (params; webData; picture; len; kind)
Parameter | Type | Description | |
params | PA_PluginParameters | Parameters received in PluginMain | |
webData | void* | Pointer to any private object | |
picture | void* | Picture buffer | |
len | long | Picture size | |
kind | PA_WebPictureKind | 0: Mac Picture, 1: GIF, 2: JPEG |
Description
The command PA_SendWebPicture tells 4D to send the specific picture to the browser to represent your Plug-in Area. You can use this function only after an eAE_WebPublishPicture event.
You can pass in webData any private data that can help you to dispose of the picture buffer once 4D has finished sending it. You will receive a eAE_WebDisposeData event telling you that 4D has finished using your picture buffer and that you can now dispose of it.
params is the PA_PluginParameters the plug-in received in its PluginMain routine.
See Also
PA_GetWebDataToDispose, PA_PublishWebPicture.
Error Handling
eER_BadEventCall if not called during eAE_WebPublishPicture event.