Color Property (Read Only)

NI Vision for Visual Basic

Color Property (Read Only)

Syntax

CWIMAQ.Color

Data Type

CWIMAQColor

Purpose

CWIMAQColor object that the CWIMAQ control uses for color settings.

Remarks

Setting properties in the CWIMAQColor object configures the color characteristics for color and StillColor acquisitions.

Example

' Set color properties

Private Sub Run_Click()
    ' Set the brightness
    CWIMAQ1.Color.Brightness = 0
    
    ' Acquire the images
    CWIMAQ1.AcquireImage
End Sub

See Also

CWIMAQColor