PA_SendWebPicture

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

version 2003


PA_SendWebPicture (params; webData; picture; len; kind)

ParameterTypeDescription
paramsPA_PluginParametersParameters received in PluginMain
webDatavoid*Pointer to any private object
picturevoid*Picture buffer
lenlongPicture size
kindPA_WebPictureKind0: 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.


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