Status
Top  Previous  Next

Description

This COM property returns the execution status of the current ImageWarp script.


Syntax


[VB]
Value=objImageWarp.Status


[C/C++]
HRESULT Get_Status( long *pStatus );


Data Types
[VB]

Enumerated. Can be one of the following values:
 
SS_NONE = 0 – No script is loaded  
SS_IDLE = 1 – Script is idle (terminated)  
SS_PAUSE = 2 – Script is paused  
SS_RUN = 3 – Script is being executed  


Parameters
[C/C++]

pStatus [out,retval]  
Pointer to the enumerated integer containing the status flag of the script.  


Return Values


S_OK  
Success  
E_FAIL  
Failure.  


Example


This VB code instructs ImageWarp to grab an image, waits until the script is idle, and then retrieves the value of a specified pixel.

IW.Call("grabIm(1)")
While IW.Status <> SS_IDLE
Wend
value=IW.GetImagePixel (1, 64, 32)
MsgBox value
 
 
Remarks

This property is read-only.