Returns the zero-based index of the first occurrence of ruler in this collection.
var instance = new Vintasoft.Imaging.Dicom.WebDicomImageRulerCollectionJS(dicomViewerControl);
var value; // Type: number
// Parameters
var ruler; // Type: WebDicomImageRulerJS
value = instance.indexOf(ruler);
Parameters
- ruler
- The ruler to locate in this collection.
Return Value
The zero-based index of the first occurrence of ruler within this collection if ruler is found; otherwise, -1.