VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.Annotation Namespace / WebAnnotationViewCollectionJS type / bringTo Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    bringTo Method
    In This Topic
    Brings the specified annotation to the specified position in the collection.
    Syntax
    var instance = new Vintasoft.Imaging.Annotation.WebAnnotationViewCollectionJS();
    
    var value; // Type: any
    
    // Parameters
    var annotation; // Type: WebAnnotationViewJS
    var position; // Type: number
    
    value = instance.bringTo(annotation, position);
    
    
    function bringTo(
    annotation : WebAnnotationViewJS,
    position
    The zero-based index of new position.
    : number
    ) : any;

    Parameters

    annotation
    WebAnnotationViewJS to move.
    position
    The zero-based index of new position.
    Exceptions
    ExceptionDescription
    Thrown if arguments have wrong types.
    Thrown if index is less than zero or index is equal to or greater than collection length.
    Browser Compatibility
    56+
    45+
    11
    See Also