LEADTOOLS Barcode (Leadtools.Barcode assembly)
LEAD Technologies, Inc

Bounds Property








Gets or sets the barcode location and size on the image. .NET support Silverlight support
Syntax
[DisplayNameAttribute("Bounds")]
[CategoryAttribute("	Bounds")]
[DescriptionAttribute("Bounds (location) of the barcode in the image")]
public virtual LogicalRectangle Bounds {get; set;}
'Declaration
 
<DisplayNameAttribute("Bounds")>
<CategoryAttribute("	Bounds")>
<DescriptionAttribute("Bounds (location) of the barcode in the image")>
Public Overridable Property Bounds As LogicalRectangle
'Usage
 
Dim instance As BarcodeData
Dim value As LogicalRectangle
 
instance.Bounds = value
 
value = instance.Bounds
[DisplayNameAttribute("Bounds")]
[CategoryAttribute("	Bounds")]
[DescriptionAttribute("Bounds (location) of the barcode in the image")]
public virtual LogicalRectangle Bounds {get; set;}
ObjectiveC Syntax
Java Syntax
DisplayNameAttribute("Bounds")
CategoryAttribute("	Bounds")
DescriptionAttribute("Bounds (location) of the barcode in the image")
 get_Bounds();
set_Bounds(value);
[DisplayNameAttribute("Bounds")]
[CategoryAttribute("	Bounds")]
[DescriptionAttribute("Bounds (location) of the barcode in the image")]
public:
virtual property LogicalRectangle Bounds {
   LogicalRectangle get();
   void set (    LogicalRectangle value);
}

Property Value

A Leadtools.Forms.LogicalRectangle object that specifies the barcode location and size on the image. The default value is LogicalRectangle.Empty.
Remarks

Reading Barcodes

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.

Writing Barcodes

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.

Example

For an example, refer to BarcodeData For an example on writing barcodes, refer to BarcodeWriter.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

BarcodeData Class
BarcodeData Members
Symbology Property
GetData Method
SetData Method
Value Property
BarcodeEngine Class
BarcodeReader Class
BarcodeWriter Class
BarcodeReader.ReadBarcode
BarcodeReader.ReadBarcodes
BarcodeWriter.WriteBarcode
BarcodeWriter.CalculateBarcodeDataBounds
Programming with LEADTOOLS Barcode
Supported Barcode Symbologies
Unlocking Barcode Support
Writing Barcodes - Bounds and XModule

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Barcode requires a Barcode Module license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features