Gets or sets the barcode foreground (bars or symbol) color used when reading barcodes.
[CategoryAttribute(" Colors")]
[DescriptionAttribute("Foreground (bar) color to use when searching for barcodes")]
[DisplayNameAttribute("Fore color")]
Leadtools.RasterColor ForeColor {get; set;}
<CategoryAttribute(" Colors")>
<DescriptionAttribute("Foreground (bar) color to use when searching for barcodes")>
<DisplayNameAttribute("Fore color")>
Property ForeColor As Leadtools.RasterColor
[CategoryAttribute(" Colors")]
[DescriptionAttribute("Foreground (bar) color to use when searching for barcodes")]
[DisplayNameAttribute("Fore color")]
Leadtools.RasterColor ForeColor {get; set;}
CategoryAttribute(" Colors")
DescriptionAttribute("Foreground (bar) color to use when searching for barcodes")
DisplayNameAttribute("Fore color")
get_ForeColor();
set_ForeColor(value);
Object.defineProperty('ForeColor');
[CategoryAttribute(" Colors")]
[DescriptionAttribute("Foreground (bar) color to use when searching for barcodes")]
[DisplayNameAttribute("Fore color")]
property Leadtools.RasterColor ForeColor {
Leadtools.RasterColor get();
void set ( Leadtools.RasterColor );
}
A RasterColor that specifies the barcode foreground (bars or symbol) color to use when searching for barcodes. The default value is "Black" (RGB of #000000).
If the input image is bitonal (B/W), then this value will not be used. The foreground color is always considered to be black (or the foreground color in the image palette) and the background color is always considered to be white (or the background color in the image palette).
When the input image is not bitonal, LEADTOOLS will perform intensity detect operation on the image to convert it to black and white before searching for the barcodes and uses the value of ForeColor and BackColor as the high and low threshold.
This example reads a barcode from an image with specific colors.
Products |
Support |
Feedback: ForeColor Property (IBarcodeReadOptions) - Leadtools.Barcode |
Introduction |
Help Version 19.0.2017.6.21
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.