在生产环境中测试,没有水印。
在您需要的地方使用。
使用功能齐全的产品30天。
几分钟内即可启动和运行。
在产品试用期间,全面访问我们的支持工程团队
using IronBarCode;
using System.Drawing;
// Reading a barcode is easy with IronBarcode!
var resultFromFile = BarcodeReader.Read(@"file/barcode.png"); // From a file
var resultFromBitMap = BarcodeReader.Read(new Bitmap("barcode.bmp")); // From a bitmap
var resultFromImage = BarcodeReader.Read(Image.FromFile("barcode.jpg")); // From an image file
var resultFromPdf = BarcodeReader.ReadPdf(@"file/mydocument.pdf"); // From PDF use ReadPdf
// To configure and fine-tune barcode reading, utilize the BarcodeReaderOptions class
var myOptionsExample = new BarcodeReaderOptions
{
// Choose a reading speed from: Faster, Balanced, Detailed, ExtremeDetail
// There is a tradeoff in performance as more detail is set
Speed = ReadingSpeed.Balanced,
// Reader will stop scanning once a single barcode is found (if set to true)
ExpectMultipleBarcodes = true,
// By default, all barcode formats are scanned for
// Specifying a subset of barcode types to search for would improve performance
ExpectBarcodeTypes = BarcodeEncoding.AllOneDimensional,
// Utilize multiple threads to read barcodes from multiple images in parallel
Multithreaded = true,
// Maximum threads for parallelized barcode reading
// Default is 4
MaxParallelThreads = 2,
// The area of each image frame in which to scan for barcodes
// Specifying a crop area will significantly improve performance and avoid noisy parts of the image
CropArea = new Rectangle(),
// Special setting for Code39 barcodes
// If a Code39 barcode is detected, try to read with both the base and extended ASCII character sets
UseCode39ExtendedMode = true
};
// Read with the options applied
var results = BarcodeReader.Read("barcode.png", myOptionsExample);
// Create a barcode with one line of code
var myBarcode = BarcodeWriter.CreateBarcode("12345", BarcodeWriterEncoding.EAN8);
// After creating a barcode, we may choose to resize
myBarcode.ResizeTo(400, 100);
// Save our newly-created barcode as an image
myBarcode.SaveAsImage("EAN8.jpeg");
// Get the barcode as an image for further processing
var myBarcodeImage = myBarcode.Image;
Install-Package BarCode
设计用于C#, F#, & VB.NET在.NET 10, 9, 8, 7, 6, 5, Core, Standard, 或 Framework上运行
对于移动二维码支持,请尝试我们的IronQR库
您的试用密钥应在电子邮件中。
如果没有,请联系我们
support@ironsoftware.com
switch(faqQuestions)
{
case "Can I deploy my application using the library to Linux, macOS, or Windows, including Docker containers?": return "YES";
case "Can I render pixel-perfect PDFs from complex HTML5, CSS3, and JavaScript?": return "YES";
case "Is the library thread-safe for use in highly concurrent, multi-threaded server applications and APIs?": return "YES";
case "Can I set custom viewport dimensions and print media CSS to control responsive layouts?": return "YES";
case "Is IronPDF compatible with Azure Functions?": return "YES";
case "Can I permanently redact sensitive text and images from PDF documents?": return "YES";
case "Can I generate a PDF from a URL that requires authentication via custom headers, cookies, or form logins?": return "YES";
case "Can I access PDF DOM through ObjectModel property?": return "YES";
case "Can I programmatically fill, read, and flatten interactive AcroForm?": return "YES";
case "Does it support generating PDF/A and PDF/UA compliant documents for archiving and accessibility standards?": return "YES";
case "Can I secure a document with 256-bit AES password encryption and set user permissions?": return "YES";
case "Can I apply and verify digital signatures on a PDF using X.509 certificates?": return "YES";
case "Can I test IronPDF in my live project for free now?": return "YES, click here to start your 30-day free trial";
}
IronBarcode能否在一个.NET程序集内读取和写入主要条码格式(QR,Aztec,Data Matrix,PDF417,UPC,EAN,Code128)?是的!
是否可以一次从单个图像或PDF页面读取多种类型的多个条码?是的!
是否可以直接从PDF中读取条码,而无需外部页面到图像转换?是的!
生成的QR码是否可以通过添加标志,自定义颜色和调整边界来进行样式设计?是的!
是否应用图像校正滤镜(去噪,对比度,纠偏)来提高读取率?是的!
是否返回包括值,二进制数据,方向和边界框在内的详细结果数据?是的!
能否将条形码直接生成到Stream或byte[]中,而不保存到磁盘?是的!
是否在.NET Core、Standard和Framework上全面跨平台,跨Windows、Linux、macOS、Docker和Azure?是的!
是否支持多线程和异步以实现高性能批处理?是的!
能否将条形码输出为HTML数据URI或盖印到现有PDF上?是的!
是否支持故障容错条形码,即使部分损坏仍可扫描?是的!
我现在可以在实时项目中免费测试IronBarcode吗?是的! 点击这里开始您的30天免费试用