rotationAngle Property

Summary

The rotation (or skew) angle of this barcode in degrees.

Syntax
TypeScript
JavaScript
Object.defineProperty(BarcodeData.prototype, 'rotationAngle', 
   get: function(), 
   set: function(value) 
) 
rotationAngle: number; 

Property Value

The rotation (or skew) angle of this barcode in degrees. The default value is 0.

Remarks

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.

Example

For an example, refer to DocumentBarcodes.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.