Leadtools.Documents.Barcode Namespace > BarcodeData Object : RotationAngle Property |
get_rotationAngle();
set_rotationAngle(value);
Object.defineProperty('rotationAngle');
Type | Description |
---|---|
int | The rotation (or skew) angle of this barcode in degrees. The default value is 0. |
The ReadBarcodes method is used to read a barcode or more from a document page. This method returns an object or an array of objects of type BarcodeData for each barcode found. Inside each object, the value of the RotationAngle property will be set in degrees, referring to the angle of rotation of the barcode. If the barcode is not rotated, the value will be 0.
This value can be detected using a full circle (from -180 degrees to +180 degrees). Therefore, you can use the barcode rotation's angle to detect the whole document's skew angle.
For an example, refer to DocumentBarcodes.