Call
Top  Previous  Next

Description

This COM method executes the specified set of ImageWarp script statements.


Syntax


[VB]
value=
objImageWarp.Load ( Command )

[C/C++]
HRESULT Load( BSTR Command, int* pID );


Data Types
[VB]

Command: String
Return value: Long

 

Parameters
[C/C++]

Command [in]  
String containing one or several statements of ImageWarp scripting language  
pID [in]  
Pointer to the ID of ImageWarp's thread in which the script has been run  
 

Return Values


S_OK  
Success  
E_FAIL  
Failure.  


Example


This VB code instructs ImageWarp to run a loop consisting of grabbing an image and applying the Sobel filter to it:


IW.Show
Command="do \n grabim(1) \n sobel(1,2) \n loop"
IW.Call (Command)