I have used this method for copy selected annotations -
this.viewerInstance.annotManager.updateCopiedAnnotations();
And this method for paste annotations -
this.viewerInstance.annotManager.pasteCopiedAnnotations();
But when I copy and paste multiple annotations like AnnotationCreateAreaMeasurement, AnnotationCreatePerimeterMeasurement, AnnotationCreateRubberStamp, rubber stamp always appears at last on paste when exportAnnotations() is called. It doesn’t paste as per the selection and copied annotations.
Like when I select and copy an area then a rubber stamp and then perimeter, and on paste rubber stand appears at last. (area,perimeter and then stamp). But I want it to be pasted exactly in the sequence as I select annotations.