IC Imaging Control .NET

OverlayBitmap.DropOutColor Property

OverlayBitmap.DropOutColor Property

Returns or sets the current dropout color.
Syntax:
[VB.NET]
Public DropOutColor As System.Drawing.Color
[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.

[VB.NET]
Dim ob As OverlayBitmap ob = IcImagingControl1.OverlayBitmap ' 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)
[C#]
OverlayBitmap ob = ICImagingControl1.OverlayBitmap; // 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

Get in touch with us


About The Imaging Source

Established in 1990, The Imaging Source is one of the leading manufacturers of industrial cameras, frame grabbers and video converters for production automation, quality assurance, logistics, medicine, science and security.

Our comprehensive range of cameras with USB 3.1, USB 3.0, USB 2.0, GigE interfaces and other innovative machine vision products are renowned for their high quality and ability to meet the performance requirements of demanding applications.

Automated Imaging Association ISO 9001:2015 certified

Contact us