VintaSoft Imaging .NET SDK v8.5
swap Method
Vintasoft.Imaging.Annotation Namespace > WebAnnotationViewCollectionJS type : swap Method
Zero-based index of the first annotation view.
Zero-based index of the second annotation view.
Swaps two annotation views in the collection.
Syntax
var instance = new Vintasoft.Imaging.Annotation.WebAnnotationViewCollectionJS();
var value; // Type: any

// Parameters
var firstIndex; // Type:  number
var secondIndex; // Type:  number

value = instance.swap(firstIndex, secondIndex);
function swap( 
   firstIndex : number,
   secondIndex : number
) : any;

Parameters

firstIndex
Zero-based index of the first annotation view.
secondIndex
Zero-based index of the second annotation view.
Browser Compatibility
9
5
11
5
See Also

Reference

WebAnnotationViewCollectionJS type