SetRoiUB Method

Sets the position number of the last element of the specified array dimension in the region of interest (ROI).

Syntax

indexvalue = object.SetRoiUB (dimension)

Parameters

dimension
A Short value that contains the dimension number of an array dimension.

Return Value

indexvalue
A Long value that contains the position number of the last active element in the specified dimension for the array.

Remarks

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

Both dimension numbers and array indexes begin with index 0.

See Also

GetRoi, SetRoiLB, Update