Leadtools.Barcode名前空間 > IBarcodeReadOptionsインターフェース :BackColorプロパティ |
[DescriptionAttribute("Background (space) color to use when searching for barcodes")] [DisplayNameAttribute("Background color")] [CategoryAttribute(" Colors")] RasterColor BackColor {get; set;}
'Declaration
<DescriptionAttribute("Background (space) color to use when searching for barcodes")> <DisplayNameAttribute("Background color")> <CategoryAttribute(" Colors")> Property BackColor As RasterColor
'Usage
Dim instance As IBarcodeReadOptions Dim value As RasterColor instance.BackColor = value value = instance.BackColor
[DescriptionAttribute("Background (space) color to use when searching for barcodes")] [DisplayNameAttribute("Background color")] [CategoryAttribute(" Colors")] RasterColor BackColor {get; set;}
DescriptionAttribute("Background (space) color to use when searching for barcodes") DisplayNameAttribute("Background color") CategoryAttribute(" Colors") <br/>get_BackColor();<br/>set_BackColor(value);<br/>Object.defineProperty('BackColor');
[DescriptionAttribute("Background (space) color to use when searching for barcodes")] [DisplayNameAttribute("Background color")] [CategoryAttribute(" Colors")] property RasterColor BackColor { RasterColor get(); void set ( RasterColor value); }
入力イメージが2値画像(モノクロ)であるならば、この値が使われません。前景色は常に黒い(またはimageパレットの前景色)と考えられます、そして、背景色は常に白い(またはimageパレットの背景色)と考えられます。
入力イメージが2値画像でないとき、LEADTOOLSはバーコードを検索する前に白黒にそれを変換するためにimageの上で強度検出操作を実行して、上下のしきい値としてForeColorとBackColorの値を使います。
サンプルのために、参照しますForeColor。