GetBitmapSize
Gets size of the image if it is converted to a Windows Bitmap (BMP).
Syntax
Definition:
METHOD GetBitmapSize : HRESULT
VAR_INPUT
nBitmapSize : Reference To ULINT;
nBitmapWidth : Reference To UDINT;
nBitmapHeight : Reference To UDINT;
END_VAR
Inputs
Name |
Type |
Description |
---|---|---|
nBitmapSize |
Reference To ULINT |
Output parameter containing the required buffer size. |
nBitmapWidth |
Reference To UDINT |
Desired width or 0 to keep the original width (in) and actual width (out). |
nBitmapHeight |
Reference To UDINT |
Desired height or 0 to keep the original height (in) and actual height (out). |