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

TheReadBarcodesmethod is used to read a barcode or more from a document page. This method returns an object or an array of objects of typeBarcodeDatafor each barcode found. Inside each object, the value of theRotationAngleproperty 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 toDocumentBarcodes.

Requirements
Target Platforms
Leadtools.Document Assembly
188金宝搏的网址客服|Support|Contact Us|Intellectual Property Notices
© 1991-2021LEAD Technologies, Inc.All Rights Reserved.