SetGridCellAsString
Top  Previous  Next

Description

This COM method assigns a string value to the specified cell in the Global Grid


Syntax


[VB]
objImageWarp.SetGridCellAsString ( Param, Object, Index, Value )


[C/C++]
HRESULT SetGridCellAsString( BSTR Param, int Object, int Index, BSTR Value );


Data Types
[VB]

Param: String
Object: Long
Index: Long
Value: String


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  
Object [in]  
Ordinal number of the object in the grid. This is equal to the number of the corresponding row.  
Index [in]  
Index of an element to be set in a vector parameter. This argument is ignored for scalar parameters.  
Value [out,retval]  
String to be assigned.  

Return Values


S_OK  
Success  
E_FAIL  
Failure.  


Example


This VB statement sets the string value of the "Area" parameter for object #11 to "unknown".

IW.SetGridCellAsString ("Area", 11, 0, "unknown")