This function is used to save the contents of an IMAGE type variable containing an image in DIB format or in a recognised file format 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: -3 The input image format is not supported. -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