This function is used to save the contents of an IMAGE type variable containing a DIB image as a bitmap file (".bmp" extension).
Context
Windows client,
Windows server,
Java client,
Java server,
Adelia Web client,
Adelia Cloud client,
Event Adelia client.
Parameters
IMAGE |
ImageVar |
IMAGE type variable. |
ALPHA(n) |
FileName |
Name of the bitmap result file. |
NUM_BIN_2 |
ReturnCode |
Return code for the operation: -2 The IMAGE variable is empty. -1 Error while opening or writing file. 0 Internal error. 1 Operation completed successfully. |
Example
FileName = 'C:\Hardis.bmp'
CALL_DLL 'VATOOLBX.DLL' 'VaToolBxSaveBitmap' ImageVar FileName ReturnCode
List of the VaToolBx functions by topic