PA_SetPictureParameter

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

version 2003


PA_SetPictureParameter (params; index; newPicture; pictSize; info)

ParameterTypeDescription
paramsPA_PluginParametersParameters received in PluginMain
indexshortIndex of the parameter in params
newPicturevoid*Pointer to the new picture data
pictSizelongNew picture size in bytes
infoPA_PictureInfoPicture info (Background)

Description

The routine PA_SetPictureParameter sets the value of the index parameter in params to newPicture.

Pass a pointer to the data buffer in newPicture, its size in bytes in pictSize, and the picture information for background drawing in info.

Note that newPicture is duplicated in the parameter, so newPicture still belongs to the plug-in after the call.

The previous picture in the parameter is disposed.

See Create a new plug-in for a description of parameter accessors.

NOTE:

The first parameter starts at index 1

See Also

Create a new plugin, PA_SetPictureHandleParameter.

Error Handling

None.


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