Skip to content

Latest commit

 

History

History
117 lines (72 loc) · 3.17 KB

File metadata and controls

117 lines (72 loc) · 3.17 KB
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

CCandidateBarcodeZone Class

The CCandidateBarcodeZone class represents a candidate zone for barcode detection.

Definition

Namespace: dynamsoft::dbr::intermediate_results

Assembly: DynamsoftBarcodeReader

class CCandidateBarcodeZone

Methods

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.

CCandidateBarcodeZone Default Constructor

Constructs a CCandidateBarcodeZone object with default parameters.

CCandidateBarcodeZone()

CCandidateBarcodeZone Constructor

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.

GetLocation

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)

SetLocation

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)

GetPossibleFormats

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)

SetPossibleFormats

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)