SetRoi Method

Sets the position number of the first or last active elements in the region of interest (ROI) for the specified array dimension.

Syntax

success = object.SetRoi (dim, LB, UB)

Parameters

dim
A Short expression that contains the dimension number of an array dimension.

LB
A Long expression that contains the value of the desired first element in the ROI.

UB
A Long expression that contains the value of the desired last element in the ROI.

Return Value

success
A Boolean value indicating success (TRUE) or failure (FALSE).

Remarks

You must call the Update method before the new ROI is mapped to the graph.

Both dimension numbering and array indexing begin with 0.

For multi-dimensional arrays, use the RowDim and ColDim properties to control which array dimensions get mapped to the graph's rows and columns.

See Also

GetROI, RowDim, ColDim