bep -
Are you opening the image in IMAQ Vision or in an external viewer?
When I tried loading it in IMAQ Vision, the overlay was displayed on the image, which is the expected behavior.
When I tried loading it in an external viewer, the overlay was not displayed on the image, which is also the expected behavior. Overlays are non-destructive and do not show up in external viewers.
A workaround is to use the CWIMAQVision.DrawRect2 method which will draw the rectangle on the image so it will show up in external viewers.
We are strongly considering putting the ability to merge overlays into the next version of IMAQ Vision for Visual Basic.
Greg Stoll
IMAQ R & D
National Instruments
Greg Stoll
LabVIEW R&D