

// Script function: Create a new ROI rectangle 
// Requirement: Open a 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 GlobalSinoImage := GetFrontImage()

showImage( GlobalSinoImage )
 
ROI EMROI = NewROI()

EMROI.ROISetRectangle( 20, 20, 100, 100 )

GlobalSinoImage.ImageGetImageDisplay(0).ImageDisplayAddROI( EMROI )
