setAnnotationStampText(String text, int index)

Sets the text for an annotation stamp menu item to the string specified by the text string that is passed in the method.

Use the index parameter to specify the location in the stamp menu where 0 indicates the first item in the menu.

This method returns true if the stamp is changed. Otherwise, this method returns false.

Sample syntax

var isStampChangedOK = ViewONE.setAnnotationStampText("my stamp", 0);