Choose a speed from: Faster, Balanced, Detailed, ExtremeDetail Var myOptionsExample = new BarcodeReaderOptions Please utilize the BarcodeReaderOptions paramter of read: To set more options and optimization with your Barcode Reading, MyNewBarcode.SaveAsImage("myBarcodeResized.jpeg") Var myNewBarcode = BarcodeWriter.CreateBarcode("12345", BarcodeWriterEncoding.EAN8) After creating a barcode, we may choose to resize and save which is easily done with: Var resultFromPdf = // From PDF use ReadPdf Var resultFromImage = BarcodeReader.Read(Image.FromFile("barcode.jpg")) // From an image Var resultFromBitMap = BarcodeReader.Read(new Bitmap("barcode.bmp")) // From a bitmap Reading a barcode is easy with IronBarcode: Image myBarcodeImage = myBarcode.Image // Can be used as Imageīitmap myBarcodeBitmap = myBarcode.ToBitmap() // Can be used as Bitmap Var myBarcode = BarcodeWriter.CreateBarcode("12345", BarcodeWriterEncoding.EAN8)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |