VintaSoft Barcode .NET SDK v10.0
ScanRectangle Property (ReaderSettings)




Vintasoft.Barcode Namespace > ReaderSettings Class : ScanRectangle Property
Gets or sets the rectangle in the image to search barcodes.
Syntax
'Declaration
 
<DescriptionAttribute("Rectangle in the image to search barcodes.")>
Public Property ScanRectangle As Rectangle
'Usage
 
Dim instance As ReaderSettings
Dim value As Rectangle
 
instance.ScanRectangle = value
 
value = instance.ScanRectangle
[Description("Rectangle in the image to search barcodes.")]
public Rectangle ScanRectangle {get; set;}
[Description("Rectangle in the image to search barcodes.")]
public: __property Rectangle get_ScanRectangle();
public: __property void set_ScanRectangle( 
   Rectangle value
);
[Description("Rectangle in the image to search barcodes.")]
public:
property Rectangle ScanRectangle {
   Rectangle get();
   void set (    Rectangle value);
}

Property Value

Default value is System.Drawing.Rectangle(0,0,0,0) - barcodes will be searched in the entire image.
Remarks
This property must be set before calling the BarcodeReader.SetImage(...) method.
Requirements

Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

See Also

Reference

ReaderSettings Class
ReaderSettings Members