OverlayBitmap.DropOutColor Property

Returns or sets the current dropout color.
Syntax:
Public DropOutColor As Long
Limitations:

Run time only. Only after ICImagingControl.LiveStart has been called once.

Remarks:

This property is used to return and set the dropout color of the overlay bitmap. All pixels of the dropout color are not painted on the live video.

The dropout color can be set using the RGB method.

The default value for DropOutColor is black.

Example:

This example demonstrates how to use the dropout color.

Dim ob As OverlayBitmap

Set ob = ICImagingControl1.OverlayBitmap
' Enable the overlay bitmap for drawing.
ob.Enable = True
ICImagingControl1.LiveStart
' Set magenta as dropout color.
ob.DropOutColor = RGB(255, 0, 255)
' Fill the overlay bitmap with the dropout color.
ob.Fill ob.DropOutColor
See also: OverlayBitmap, OverlayBitmap.Fill

<< ICImagingControl.OverlayBitmap