|
![]() |
![]() |
version 2003
PA_GetPictureHandleVariable (aVariable; pictInfo) → PA_Handle
Parameter | Type | Description | |
aVariable | PA_Variable | → | Variable to access |
pictInfo | PA_PictureInfo * | ← | Picture info |
Function result | PA_Handle | ← | A handle to the picture data of the variable |
Description
The routine
PA_GetPictureHandleVariable
returns a handle to the picture data of the variable
aVariable
. It fills
*pictInfo
with the picture information. If the variable is not a
eVK_Picture
variable, the routine returns 0 and leaves
pictInfo
unchanged.
To get a copy of the data, use
PA_GetPictureVariable
. It can be useful to only get the Handle for saving memory , especially if the plug-in just want to "read-only" the picture content (sample drawing).
NOTE
: