Programmatically Overlay a Shape at the Center of an Image

Updated Mar 10, 2020

Issue Details

Can I programmatically overlay a shape at the center of an image? 

Solution

Yes; you can do so by first getting the image size using IMAQ GetImageSize to calculate the center of the image. 
From the center coordinates, one can calculate the coordinates for the symbol to input into, for instance, IMAQ Overlay Rectangle. 
Check attachment for a sample of overlaying a rectangle at the center of an image.