| layout | default-layout |
|---|---|
| title | CCandidateBarcodeZone Class - Dynamsoft Barcode Reader C++ Edition API Reference |
| description | API reference for the CCandidateBarcodeZone class in Dynamsoft Barcode Reader C++ Edition, representing a candidate barcode region with location and possible format information. |
| keywords | GetLocation, SetLocation, GetPossibleFormats, SetPossibleFormats, CCandidateBarcodeZone, api reference |
The CCandidateBarcodeZone class represents a candidate zone for barcode detection.
Namespace: dynamsoft::dbr::intermediate_results
Assembly: DynamsoftBarcodeReader
class CCandidateBarcodeZone| Method | Description |
|---|---|
CCandidateBarcodeZone |
Constructs a CCandidateBarcodeZone object with default parameters. |
CCandidateBarcodeZone(const CQuadrilateral& location, unsigned long long possibleFormats) |
Constructs a CCandidateBarcodeZone object with the specified parameters. |
GetLocation |
Gets the location of the candidate barcode. |
SetLocation |
Sets the location of the candidate barcode. |
GetPossibleFormats |
Gets the posssible formats of the candidate barcode. |
SetPossibleFormats |
Sets the posssible formats of the candidate barcode. |
Constructs a CCandidateBarcodeZone object with default parameters.
CCandidateBarcodeZone()Constructs a CCandidateBarcodeZone object with the specified parameters.
CCandidateBarcodeZone(const CQuadrilateral& location, unsigned long long possibleFormats)Parameters
location The location of the candidate barcode.
possibleFormats The posssible formats of the candidate barcode.
Gets the location of the candidate barcode.
CQuadrilateral GetLocation() const;Return value
Returns the location of the candidate barcode.
See Also
[CQuadrilateral]({{ site.dcvb_cpp_api }}core/basic-structures/quadrilateral.html)
Sets the location of the candidate barcode.
void SetLocation(const CQuadrilateral& loc); Parameters
loc The location of the candidate barcode.
See Also
[CQuadrilateral]({{ site.dcvb_cpp_api }}core/basic-structures/quadrilateral.html)
Gets the posssible formats of the candidate barcode.
unsigned long long GetPossibleFormats() const;Return value
Returns the posssible formats of the candidate barcode.
See Also
[BarcodeFormat]({{ site.dbr_cpp_api }}enum-barcode-format.html?src=cpp&&lang=cpp)
Sets the posssible formats of the candidate barcode.
void SetPossibleFormats(unsigned long long formats);Parameters
formats The posssible formats of the candidate barcode.
See Also
[BarcodeFormat]({{ site.dbr_cpp_api }}enum-barcode-format.html?src=cpp&&lang=cpp)