OverlayBitmap.DropOutColor Property

Returns or sets the current dropout color.
Syntax:
[C#]
public System.Drawing.Color DropOutColor;
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.

[C#]
OverlayBitmap ob = ICImagingControl1.OverlayBitmapAtPath[PathPositions.Device]; // Enable the overlay bitmap for drawing. ob.Enable = true; // Set magenta as the dropout color. ob.DropOutColor = System.Drawing.Color.Magenta; // Fill the overlay bitmap with the dropout color. ob.Fill(ob.DropOutColor);
See also: OverlayBitmap, OverlayBitmap.Fill

<< ICImagingControl.OverlayBitmap