CWIMAQOverlay
From 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
| DefaultColor | Default color for the overlay object. |
Methods
| Clear | Clears the overlay. |
| CopyTo | Copies all data from one CWIMAQOverlay object to another. This overlay is added to the existing overlay information on the destination image. |
| DrawArc | Draws an arc on the overlay. |
| DrawConnectedPoints | Draws multiple connected points, either a polyline or a polygon, on the overlay. |
| DrawLine | Draws a line on the overlay. |
| DrawOval | Draws an oval on the overlay. |
| DrawPicture | Draws a picture to the overlay. The picture can contain a bitmap, metafile, icon, or cursor. |
| DrawRectangle | Draws a rectangle to the overlay. |
| DrawRegions | Draws a regions collection to the overlay. |
| DrawText | Draws text on the overlay. |
| Merge | Makes this overlay part of the image to which it is attached, and removes the CWIMAQOverlay object. |