CWIMAQOverlay

NI Vision for Visual Basic

CWIMAQOverlay

CWIMAQOverlay contains methods that draw shapes onto the overlay. These shapes are displayed on top of a CWIMAQImage. Overlays do not modify the actual image pixels and are deleted when the image is resized. To save overlay information along with an image, use CWIMAQVision.WriteImageAndVisionInfo.

Properties

DefaultColorDefault color for the overlay object.

Methods

ClearClears the overlay.
CopyToCopies all data from one CWIMAQOverlay object to another. This overlay is added to the existing overlay information on the destination image.
DrawArcDraws an arc on the overlay.
DrawConnectedPointsDraws multiple connected points, either a polyline or a polygon, on the overlay.
DrawLineDraws a line on the overlay.
DrawOvalDraws an oval on the overlay.
DrawPictureDraws a picture to the overlay. The picture can contain a bitmap, metafile, icon, or cursor.
DrawRectangleDraws a rectangle to the overlay.
DrawRegionsDraws a regions collection to the overlay.
DrawTextDraws text on the overlay.
MergeMakes this overlay part of the image to which it is attached, and removes the CWIMAQOverlay object.

See Also

CWIMAQOverlays

CWIMAQImage

CWIMAQVision.WriteImageAndVisionInfo