ASP.NET Barcode SDK Component

CustomRotation

 

Set the custom rotation when set ScanWithCustomRotation property = true.

CustomRotation[=double]


Parameter
double
the value of custom rotation.

Remark
This property is Read/Write.

Example

   

C#
using System.Drawing;
using System.Drawing.Imaging;
using BarcodeWrapper;

BarcodeReader reader= new BarcodeReader();
reader.ScanWithCustomRotation = true;
reader.CustomRotation = 50;
reader.TryHard = true;
reader.ScanWith45DegreeCounterClockwiseRotation = true;
reader.ScanMultiple = true;
Bitmap bitmap = new Bitmap(strinputpath1);
int count = reader.ReadBarcodeImage(bitmap, x, y, width, height);
string text = "" + count + " codes found<br><br>";

for (int i = 0; i < count; i++)
{
text += reader.GetBarcodeType(i) + " value:" + reader.GetBarcodeValue(i) + "<br>";
}