Gets or sets the barcode location and size on the image.
public virtual LogicalRectangle Bounds { get; set; }
Public Overridable Property Bounds As Leadtools.Forms.LogicalRectangle
public virtual Leadtools.Forms.LogicalRectangle Bounds {get; set;}
@property (nonatomic, assign) LeadRect bounds
public LeadRect getBounds()
public void setBounds(LeadRect value)
<br/>get_Bounds();<br/>set_Bounds(value);<br/>Object.defineProperty('Bounds');
public:
virtual property Leadtools.Forms.LogicalRectangle Bounds {
Leadtools.Forms.LogicalRectangle get();
void set ( Leadtools.Forms.LogicalRectangle );
}
A LogicalRectangle object that specifies the barcode location and size on the image. The default value is LogicalRectangle.Empty.
The BarcodeReader.ReadBarcode or BarcodeReader.ReadBarcodes methods are used to read one barcode or more from an image. Each of these methods returns an object or an array of objects of type BarcodeData for each barcode found. Inside each object, the value of the Bounds property will be set by the BarcodeReader object to the location and size of the barcode.
For a tutorial, refer to Reading Barcodes Tutorial.
The BarcodeWriter.WriteBarcode method is used to write barcodes to an image. Create an instance of BarcodeData and fill its members before passing it to this method. The Bounds property informs the BarcodeWriter object of the location and size of this new barcode on the image.
Not all sizes can be used when writing a barcode and the value of the width and height of the bounds can have a special meaning. For more information, refer to Writing Barcodes - Bounds and XModule.
For a tutorial, refer to Writing Barcodes Tutorial.
For an example, refer to BarcodeData For an example on writing barcodes, refer to BarcodeWriter.
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