This COM method returns the vertical size of the specified image.
Syntax
[VB]
Value=objImageWarp.GetImageHeight ( Inp ) [C/C++]
HRESULT GetImageHeight( int Inp, int *pHeight );
Data Types [VB]
Inp: Long
Return value: Long
Parameters [C/C++]
Inp [in]
Index of the image
pHeight [out,retval]
Pointer to the image width in pixels
Return Values
S_OK
Success
E_FAIL
Failure.
Example
This VB code grabs an image and displays its vertical size
IW.Call("grabIm(1)")
value=IW.GetImageHeight (1)
While IW.Status <> SS_IDLE
Wend
MsgBox value