

// Script function: Add arrow annotations
// Requirement: Open an image

// Unless named starting with GlobalSino, EM, My, Self, the function commands are defined 
//by Gatan DM, please see at link: http://www.globalsino.com/EM/page2597.html

image GlobalSinoImg := GetFrontImage()

ImageDisplay MyDisplay = GlobalSinoImg.ImageGetImageDisplay(0)

component GlobalSinoArrow = NewArrowAnnotation(10,10,200,200)
GlobalSinoArrow.ComponentSetForegroundColor(0.9, 0.9, 0.9)
MyDisplay.ComponentAddChildAtEnd( GlobalSinoArrow )