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




Vintasoft.WpfBarcode 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 Int32Rect
'Usage
 
Dim instance As ReaderSettings
Dim value As Int32Rect
 
instance.ScanRectangle = value
 
value = instance.ScanRectangle
[Description("Rectangle in the image to search barcodes.")]
public Int32Rect ScanRectangle {get; set;}
[Description("Rectangle in the image to search barcodes.")]
public: __property Int32Rect get_ScanRectangle();
public: __property void set_ScanRectangle( 
   Int32Rect value
);
[Description("Rectangle in the image to search barcodes.")]
public:
property Int32Rect ScanRectangle {
   Int32Rect get();
   void set (    Int32Rect value);
}

Property Value

Default value is System.Windows.Int32Rect(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