rotationAngle Property

Summary

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

Syntax

JavaScript Syntax
Object.defineProperty(BarcodeData.prototype, 'rotationAngle', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents Assembly