PageBarcodeArea

Inheritance: java.lang.Object, com.groupdocs.parser.data.PageArea

public class PageBarcodeArea extends PageArea

Represents a page barcode area which is used to represent a barcode value in the parsing by template functionality.

Constructors

Constructor Description
PageBarcodeArea(String value, String codeTypeName, int confidence, double angle, Page page, Rectangle rectangle) Initializes a new instance of the PageBarcodeArea class.

Methods

Method Description
getValue() Gets the barcode value.
getCodeTypeName() Gets the name of the barcode type.
getConfidence() Gets the level of confidence of the parsed barcode.
getAngle() Gets the angle of the barcode.

PageBarcodeArea(String value, String codeTypeName, int confidence, double angle, Page page, Rectangle rectangle)

public PageBarcodeArea(String value, String codeTypeName, int confidence, double angle, Page page, Rectangle rectangle)

Initializes a new instance of the PageBarcodeArea class.

Parameters:

Parameter Type Description
value java.lang.String The value of the barcode.
codeTypeName java.lang.String The type name of the barcode.
confidence int The level of confidence of the parsered barcode.
angle double The angle of the barcode.
page Page The page that contains the barcode area.
rectangle Rectangle The rectangular area that contains the barcode area.

getValue()

public String getValue()

Gets the barcode value.

Returns: java.lang.String - A string value that represents a value of the barcode page area.

getCodeTypeName()

public String getCodeTypeName()

Gets the name of the barcode type.

Returns: java.lang.String - A string value than represents a type name of the barcode.

getConfidence()

public int getConfidence()

Gets the level of confidence of the parsed barcode.

Returns: int - An integer value that represents the confidence of the parsed barcode (0-100).

getAngle()

public double getAngle()

Gets the angle of the barcode.

Returns: double - An integer value that represents the angle of the barcode (0-360).