Click or drag to resize
SoMFDataMeasureFind Method (SoDataMeasure, Boolean)

Finds the given targetValue in the array and returns the index of that value.

Namespace: OIV.ImageViz.Fields
Assembly: OIV.ImageViz (in OIV.ImageViz.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public int Find(
	SoDataMeasure targetValue,
	bool addIfNotFound
)

Parameters

targetValue
Type: OIV.ImageViz.Nodes.MeasuresSoDataMeasure
addIfNotFound
Type: SystemBoolean

Return Value

Type: Int32
Remarks

in the array. If the value is not found, -1 is returned. If addIfNotFound is set, then targetValue is added to the end of the array (but -1 is still returned).

See Also