LEADTOOLS Barcode (Leadtools.Barcode assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Angle Property
See Also 
Leadtools.Barcode Namespace > BarcodeData Class : Angle Property



(Read only) Gets the barcode angle in hundredths of degrees.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Angle As Integer
Visual Basic (Usage)Copy Code
Dim instance As BarcodeData
Dim value As Integer
 
value = instance.Angle
C# 
public int Angle {get;}
C++/CLI 
public:
property int Angle {
   int get();
}

Property Value

Barcode angle in hundredths of degrees. Possible values range from -18000 to 18000 with two digit precision. To obtain the actual angle value, divide by 100.0 .

Remarks

A full circle can be detected (from -180 to +180).

It is very useful to detect a document's image skew angle. Use this parameter to correct an image's skew. To do so, provide the angle found to the Leadtools.ImageProcessing.RotateCommand function to rotate the image in the opposite direction using the negative value of the returned Angle.

The major difference between this value and the value found using the Leadtools.ImageProcessing.Core.DeskewCommand is that there is no limitation on the barcode angle, i.e. all angles can be detected, where the deskew command is limited to +/- 20 degrees.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Barcode requires a Barcode Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features