CandidateBarcodeZonesUnit Class
The CandidateBarcodeZonesUnit class represents a unit that contains candidate barcode zones unit. It inherits from the IntermediateResultUnit class.
Definition
Package: com.dynamsoft.dbr.intermediate_results
Inheritance: IntermediateResultUnit -> CandidateBarcodeZonesUnit
public class CandidateBarcodeZonesUnit extends IntermediateResultUnit
Methods
| Method | Description |
|---|---|
getCount |
Gets the number of candidate barcode zones in the unit. |
getCandidateBarcodeZone |
Gets a candidate barcode zone. |
getCandidateBarcodeZones |
Gets all candidate barcode zones. |
addCandidateBarcodeZone |
Adds a candidate barcode zone. |
removeAllCandidateBarcodeZones |
Removes all the candidate barcode zones. |
removeCandidateBarcodeZone |
Removes a candidate barcode zone at the specified index. |
Method Details
getCount
Gets the number of candidate barcode zones in the unit.
public int getCount()
Return Value
Returns the number of candidate barcode zones in the unit.
getCandidateBarcodeZone
Gets a candidate barcode zone at the specified index.
public CandidateBarcodeZone getCandidateBarcodeZone(int index) throws BarcodeReaderException
Parameters
index: The index of the candidate barcode zone.
Return Value
Returns the candidate barcode zone at the specified index.
Exceptions
BarcodeReaderException: Thrown when an error occurs during the operation.
See Also
getCandidateBarcodeZones
Gets all candidate barcode zones.
public CandidateBarcodeZone[] getCandidateBarcodeZones()
Return Value
Returns an array of all candidate barcode zones.
addCandidateBarcodeZone
Adds a candidate barcode zone.
public void addCandidateBarcodeZone(CandidateBarcodeZone candidateBarcodeZone) throws BarcodeReaderException
Parameters
candidateBarcodeZone: The candidate barcode zone to add.
Exceptions
BarcodeReaderException: Thrown when an error occurs during the operation.
See Also
removeAllCandidateBarcodeZones
Removes all the candidate barcode zones.
public void removeAllCandidateBarcodeZones()
removeCandidateBarcodeZone
Removes a candidate barcode zone at the specified index.
public void removeCandidateBarcodeZone(int index) throws BarcodeReaderException
Parameters
index: The index of the candidate barcode zone to remove.
Exceptions
BarcodeReaderException: Thrown when an error occurs during the operation.
See Also