Load
Top  Previous  Next

Description

This COM method loads the script specified by a filename into ImageWarp's Script Editor.


Syntax


[VB]
objImageWarp.Load ( FileName )


[C/C++]
HRESULT Load( BSTR FileName );


Data Types
[VB]

FileName: String
 

Parameters
[C/C++]

FileName [in]  
Name of the script file to be loaded  


Return Values


S_OK  
Success  
E_FAIL  
Failure.  


Example


This VB code loads a script from the file and executes it:


IW.Show
IW.Load ("C:\\Program Files\\ImageWarp\\Scripts\\18_realtime.prg")
IW.Run