DefaultColor Property

NI Vision for Visual Basic

DefaultColor Property

Syntax

CWIMAQOverlay.DefaultColor

Data Type

Color

Purpose

Default color for the overlay object.

Remarks

If a draw method takes an optional color input, and the color is not supplied, this color is used for that shape. Changing this property does not affect the color of any shapes that have already been drawn, but it does affect new shapes that are drawn. This property does not affect the default foreground color of DrawText.