VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.Dicom Namespace / WebDicomImageRulerCollectionJS type / indexOf Property
Syntax BrowserCompatibility SeeAlso
In This Topic
    indexOf Method
    In This Topic
    Returns the zero-based index of the first occurrence of ruler in this collection.
    Syntax
    var instance = new Vintasoft.Imaging.Dicom.WebDicomImageRulerCollectionJS(dicomViewerControl);
    
    var value; // Type: number
    
    // Parameters
    var ruler; // Type: WebDicomImageRulerJS
    
    value = instance.indexOf(ruler);
    
    
    function indexOf(
    ruler
    The ruler to locate in this collection.
    : WebDicomImageRulerJS
    ) : number;

    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.
    Browser Compatibility
    56+
    45+
    11
    See Also