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

    Parameters

    overlay
    The text overlay to locate in this collection.

    Return Value

    The zero-based index of the first occurrence of text overlay within this collection if text overlay is found; otherwise, -1.
    Browser Compatibility
    56+
    45+
    11
    See Also