PDF417Code
Description
Holds information about PDF417 code: its position and text which is encoded.Structure fields and default values (if defined) are described below:
- Rectangle2D Outline
- String Text
- int RowCount
- int DataColumnCount
- int ErrorCorrectionLevel
- Point2D Center
struct PDF417Code
{
Rectangle2D Outline;
String Text;
int RowCount;
int DataColumnCount;
int ErrorCorrectionLevel;
Point2D Center;
Rectangle2D Outline() const { return Outline; };
String Text() const { return Text; };
int RowCount() const { return RowCount; };
int DataColumnCount() const { return DataColumnCount; };
int ErrorCorrectionLevel() const { return ErrorCorrectionLevel; };
Point2D Center() const { return Center; };
bool operator == ( const avl::PDF417Code& rhs ) const
{
return Outline == rhs.Outline &&
Text == rhs.Text &&
RowCount == rhs.RowCount &&
DataColumnCount == rhs.DataColumnCount &&
ErrorCorrectionLevel == rhs.ErrorCorrectionLevel &&
Center == rhs.Center;
}
bool operator != ( const avl::PDF417Code& rhs ) const
{
return !(operator==(rhs));
}
};
