SetParam
Top  Previous  Next

Description

This COM method returns the value of the specified measurement parameter for the last measured object.


Syntax


[VB]
objImageWarp.SetParam ( Param, Index, Value )


[C/C++]
HRESULT SetParam( BSTR Param, int Index, float Value );


Data Types
[VB]

Param: String
Index: Long
Value: Single


Parameters
[C/C++]

Param [in]  
String specifying the name of the measurement parameter whose value is to be set. See selectParam for the list of parameters supported by ImageWarp  
Index [in]  
Index of an element to be set in a vector parameter. This argument is ignored for scalar parameters.  
Value [in]  
Parameter's value to be assigned  


Return Values


S_OK  
Success  
E_FAIL  
Failure.  


Example


This VB statement sets the value of the "Area" parameter to 99.

IW.SetParam("Area", 0., 99.)