在生產環境中測試,無水印。
在任何需要的地方都能運行。
獲得 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
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");
Image myBarcodeImage = myBarcode.Image; // Can be used as Image
Bitmap myBarcodeBitmap = myBarcode.ToBitmap(); // Can be used as Bitmap
Imports IronBarCode
Imports System.Drawing
' Reading a barcode is easy with IronBarcode!
Private resultFromFile = BarcodeReader.Read("file/barcode.png") ' From a file
Private resultFromBitMap = BarcodeReader.Read(New Bitmap("barcode.bmp")) ' From a bitmap
Private resultFromImage = BarcodeReader.Read(Image.FromFile("barcode.jpg")) ' From an image
Private resultFromPdf = BarcodeReader.ReadPdf("file/mydocument.pdf") ' From PDF use ReadPdf
' To configure and fine-tune barcode reading, utilize the BarcodeReaderOptions class
Private myOptionsExample = New BarcodeReaderOptions With {
.Speed = ReadingSpeed.Balanced,
.ExpectMultipleBarcodes = True,
.ExpectBarcodeTypes = BarcodeEncoding.AllOneDimensional,
.Multithreaded = True,
.MaxParallelThreads = 2,
.CropArea = New Rectangle(),
.UseCode39ExtendedMode = True
}
' Read with the options applied
Private results = BarcodeReader.Read("barcode.png", myOptionsExample)
' Create a barcode with one line of code
Private 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")
Dim myBarcodeImage As Image = myBarcode.Image ' Can be used as Image
Dim myBarcodeBitmap As Bitmap = myBarcode.ToBitmap() ' Can be used as Bitmap
IronBarcode 支援多種標準格式,從圖像文件開始(jpeg、png 和 jpg)轉換為更具程式化的格式,您可能希望傳遞變數,例如位圖。此外,它還支持PDF等外部格式,允許IronBarcode無縫整合。
在任何代碼庫中,為開發人員提供文件格式和變量的靈活性。
除了是所有文件格式的條碼讀取器外,IronBarcode 還可作為條碼生成器,支援所有標準編碼和格式,如 EAN8
、Code128
和 Code39
。 設定條碼生成器只需要兩行代碼。 對於開發人員來說,IronBarcode 是條碼相關所有情況的首選,因為它具有入門門檻低且提供多樣化的自訂選項。
var myBarcode = BarcodeWriter.CreateBarcode("12345", BarcodeWriterEncoding.EAN8);
Image myBarcodeImage = myBarcode.Image;
myBarcode.ResizeTo(400, 100);
var resultFromFile = BarcodeReader.Read(@"file/barcode.png");
var myOptionsExample = new BarcodeReaderOptions{...}
我們首先匯入 IronBarCode
和 System.Drawing
,並實例化 BarcodeWriter
,以創建一個格式為 EAN8
的條碼,條碼的字串值為 12345
。 然後,我們將生成的條碼儲存為所需格式的圖片。 IronBarcode 支援將條碼製作成 Image
以及 Bitmap
,因此有各種選擇。
如上所述,使用 IronBarcode 生成條碼只需兩行程式碼,並將其保存為檔案以供日後使用。 IronBarcode 進一步延伸這一點,為開發人員提供大量選項,以自訂條碼以符合不同情況。
我們可以使用 ResizeTo
方法並傳入高度和寬度來調整條碼圖片的大小。
如上所述,我們首先實例化 BarcodeReader
,將文件路徑傳遞給 Read
方法,並將其保存為變數以便稍後使用和操作條碼對象。 有指定的方法來讀取外部格式,例如使用 ReadPDF
來讀取 PDF; 然而,對於一般圖像格式和位圖,我們會使用 Read
。
IronBarcode允許開發人員從標準文件格式掃描條碼。 然而,在某些情況下,開發人員希望微調 Read
方法的行為,特別是在程式化地讀取一批條碼文件的情況下。 這就是 BarcodeReaderOptions
派上用場的地方。 IronPDF 允許您完全自訂,例如透過 Speed
調整讀取速度、使用 ExpectedMultipleBarcodes
設定文件中是否預期有多個條碼,以及使用屬性 ExpectBarcodeTypes
設定條碼的類型。 允許開發者運行多個線程以並行處理從多個圖像中讀取條碼,並設置在進行並行讀取時使用的線程數。
以下只是展示 IronBarcode 強大功能的一些屬性,完整列表請參閱文件。這裡 點擊此處查看操作指南,包括範例、示例代碼和文件。
using IronBarCode;
using IronSoftware.Drawing;
// Choose which filters are to be applied (in order)
// Set cacheAtEachIteration = true to save the intermediate image data after each filter is applied
var filtersToApply = new ImageFilterCollection(cacheAtEachIteration: true) {
new SharpenFilter(),
new InvertFilter(),
new ContrastFilter(),
new BrightnessFilter(),
new AdaptiveThresholdFilter(),
new BinaryThresholdFilter(),
new GaussianBlurFilter(),
new MedianBlurFilter(),
new BilateralFilter()
};
BarcodeReaderOptions myOptionsExample = new BarcodeReaderOptions()
{
// Set chosen filters in BarcodeReaderOptions
ImageFilters = filtersToApply,
Speed = ReadingSpeed.Balanced,
ExpectMultipleBarcodes = true,
};
// Read with the options applied
BarcodeResults results = BarcodeReader.Read("screenshot.png", myOptionsExample);
AnyBitmap[] filteredImages = results.FilterImages();
// Export intermediate image files to disk
for (int i = 0 ; i < filteredImages.Length ; i++)
filteredImages[i].SaveAs($"{i}_barcode.png");
// Or
results.ExportFilterImagesToDisk("filter-result.jpg");
Imports IronBarCode
Imports IronSoftware.Drawing
' Choose which filters are to be applied (in order)
' Set cacheAtEachIteration = true to save the intermediate image data after each filter is applied
Private filtersToApply = New ImageFilterCollection(cacheAtEachIteration:= True) From {
New SharpenFilter(),
New InvertFilter(),
New ContrastFilter(),
New BrightnessFilter(),
New AdaptiveThresholdFilter(),
New BinaryThresholdFilter(),
New GaussianBlurFilter(),
New MedianBlurFilter(),
New BilateralFilter()
}
Private myOptionsExample As New BarcodeReaderOptions() With {
.ImageFilters = filtersToApply,
.Speed = ReadingSpeed.Balanced,
.ExpectMultipleBarcodes = True
}
' Read with the options applied
Private results As BarcodeResults = BarcodeReader.Read("screenshot.png", myOptionsExample)
Private filteredImages() As AnyBitmap = results.FilterImages()
' Export intermediate image files to disk
For i As Integer = 0 To filteredImages.Length - 1
filteredImages(i).SaveAs($"{i}_barcode.png")
Next i
' Or
results.ExportFilterImagesToDisk("filter-result.jpg")
IronBarcode 提供許多影像預處理濾鏡可以選擇,並可以輕鬆地在 BarcodeReaderOptions
中應用。 選擇可能改善影像讀取的濾鏡,例如銳化、二值閾值和對比度。 請記住,您選擇它們的順序就是它們被應用的順序。
可以选择保存每个滤镜应用后的中间图像的数据。 這可以通過 ImageFilterCollection
的 SaveAtEachIteration
屬性來切換。
using IronBarCode;
using System.Drawing;
/*** CREATING BARCODE IMAGES ***/
// Create and save a barcode in a single line of code
BarcodeWriter.CreateBarcode("12345", BarcodeWriterEncoding.EAN8).ResizeTo(400, 100).SaveAsImage("EAN8.jpeg");
/***** IN-DEPTH BARCODE CREATION OPTIONS *****/
// BarcodeWriter.CreateBarcode creates a GeneratedBarcode which can be styled and exported as an Image object or file
GeneratedBarcode MyBarCode = BarcodeWriter.CreateBarcode("Any Number, String or Binary Value", BarcodeWriterEncoding.Code128);
// Style the Barcode in a fluent LINQ-style fashion
MyBarCode.ResizeTo(300, 150).SetMargins(20).AddAnnotationTextAboveBarcode("Example EAN8 Barcode").AddBarcodeValueTextBelowBarcode();
MyBarCode.ChangeBackgroundColor(Color.LightGoldenrodYellow);
// Save the barcode as an image file
MyBarCode.SaveAsImage("MyBarCode.png");
MyBarCode.SaveAsGif("MyBarCode.gif");
MyBarCode.SaveAsHtmlFile("MyBarCode.html");
MyBarCode.SaveAsJpeg("MyBarCode.jpg");
MyBarCode.SaveAsPdf("MyBarCode.Pdf");
MyBarCode.SaveAsPng("MyBarCode.png");
MyBarCode.SaveAsTiff("MyBarCode.tiff");
MyBarCode.SaveAsWindowsBitmap("MyBarCode.bmp");
// Save the barcode as a .NET native object
Image MyBarCodeImage = MyBarCode.Image;
Bitmap MyBarCodeBitmap = MyBarCode.ToBitmap();
byte[] PngBytes = MyBarCode.ToPngBinaryData();
using (System.IO.Stream PdfStream = MyBarCode.ToPdfStream())
{
// Stream barcode image output also works for GIF, JPEG, PDF, PNG, BMP and TIFF
}
// Save MyBarCode as an HTML file or tag
MyBarCode.SaveAsHtmlFile("MyBarCode.Html");
string ImgTagForHTML = MyBarCode.ToHtmlTag();
string DataURL = MyBarCode.ToDataUrl();
// Save MyBarCode to a new PDF, or stamp it in any position on any page(s) of an existing document
MyBarCode.SaveAsPdf("MyBarCode.Pdf");
MyBarCode.StampToExistingPdfPage("ExistingPDF.pdf", 200, 50, 1); // Position (200, 50) on page 1
MyBarCode.StampToExistingPdfPages("ExistingPDF.pdf", 200, 50, new[] { 1, 2, 3 }, "Password123"); // Multiple pages of an encrypted PDF
Imports IronBarCode
Imports System.Drawing
'''* CREATING BARCODE IMAGES **
' Create and save a barcode in a single line of code
BarcodeWriter.CreateBarcode("12345", BarcodeWriterEncoding.EAN8).ResizeTo(400, 100).SaveAsImage("EAN8.jpeg")
'''*** IN-DEPTH BARCODE CREATION OPTIONS ****
' BarcodeWriter.CreateBarcode creates a GeneratedBarcode which can be styled and exported as an Image object or file
Dim MyBarCode As GeneratedBarcode = BarcodeWriter.CreateBarcode("Any Number, String or Binary Value", BarcodeWriterEncoding.Code128)
' Style the Barcode in a fluent LINQ-style fashion
MyBarCode.ResizeTo(300, 150).SetMargins(20).AddAnnotationTextAboveBarcode("Example EAN8 Barcode").AddBarcodeValueTextBelowBarcode()
MyBarCode.ChangeBackgroundColor(Color.LightGoldenrodYellow)
' Save the barcode as an image file
MyBarCode.SaveAsImage("MyBarCode.png")
MyBarCode.SaveAsGif("MyBarCode.gif")
MyBarCode.SaveAsHtmlFile("MyBarCode.html")
MyBarCode.SaveAsJpeg("MyBarCode.jpg")
MyBarCode.SaveAsPdf("MyBarCode.Pdf")
MyBarCode.SaveAsPng("MyBarCode.png")
MyBarCode.SaveAsTiff("MyBarCode.tiff")
MyBarCode.SaveAsWindowsBitmap("MyBarCode.bmp")
' Save the barcode as a .NET native object
Dim MyBarCodeImage As Image = MyBarCode.Image
Dim MyBarCodeBitmap As Bitmap = MyBarCode.ToBitmap()
Dim PngBytes() As Byte = MyBarCode.ToPngBinaryData()
Using PdfStream As System.IO.Stream = MyBarCode.ToPdfStream()
' Stream barcode image output also works for GIF, JPEG, PDF, PNG, BMP and TIFF
End Using
' Save MyBarCode as an HTML file or tag
MyBarCode.SaveAsHtmlFile("MyBarCode.Html")
Dim ImgTagForHTML As String = MyBarCode.ToHtmlTag()
Dim DataURL As String = MyBarCode.ToDataUrl()
' Save MyBarCode to a new PDF, or stamp it in any position on any page(s) of an existing document
MyBarCode.SaveAsPdf("MyBarCode.Pdf")
MyBarCode.StampToExistingPdfPage("ExistingPDF.pdf", 200, 50, 1) ' Position (200, 50) on page 1
MyBarCode.StampToExistingPdfPages("ExistingPDF.pdf", 200, 50, { 1, 2, 3 }, "Password123") ' Multiple pages of an encrypted PDF
在此示例中,我們看到可以創建、調整大小並保存多種不同類型和格式的條碼。 可能甚至只用一行程式碼。
使用我們的流暢API,生成的條碼類別可以用來設置邊距、調整大小和註解條碼。 然後,它們可以儲存為影像,IronBarcode 將自動從檔案名稱判斷正確的影像類型:GIFs、HTML 檔案、HTML 標籤、JPEGs、PDFs、PNGs、TIFFs 和 Windows Bitmaps。
我們還提供了 StampToExistingPdfPage
方法,允許生成條碼並將其蓋印到現有的PDF上。 這在編輯通用PDF或透過條碼向文件添加內部識別號時非常有用。
using IronBarCode;
using System;
using System.Drawing;
/*** STYLING GENERATED BARCODES ***/
// BarcodeWriter.CreateBarcode creates a GeneratedBarcode object which allows the barcode to be styled and annotated.
GeneratedBarcode MyBarCode = BarcodeWriter.CreateBarcode("Iron Software", BarcodeWriterEncoding.QRCode);
// Any text (or commonly, the value of the barcode) can be added to the image in a default or specified font.
// Text positions are automatically centered, above or below. Fonts that are too large for a given image are automatically scaled down.
MyBarCode.AddBarcodeValueTextBelowBarcode();
MyBarCode.AddAnnotationTextAboveBarcode("This is My Barcode", new Font(new FontFamily("Arial"), 12, FontStyle.Regular, GraphicsUnit.Pixel), Color.DarkSlateBlue);
// Resize, add margins and check final image dimensions
MyBarCode.ResizeTo(300, 300); // Resize in pixels
MyBarCode.SetMargins(0, 20, 0, 20); // Set margins in pixels
int FinalWidth = MyBarCode.Width;
int FinalHeight = MyBarCode.Height;
// Recolor the barcode and its background
MyBarCode.ChangeBackgroundColor(Color.LightGray);
MyBarCode.ChangeBarCodeColor(Color.DarkSlateBlue);
if (!MyBarCode.Verify())
{
Console.WriteLine("Color contrast should be at least 50% or a barcode may become unreadable. Test using GeneratedBarcode.Verify()");
}
// Finally, save the result
MyBarCode.SaveAsHtmlFile("StyledBarcode.html");
/*** STYLING BARCODES IN A SINGLE LINQ-STYLE EXPRESSION ***/
// Create a barcode in one line of code
BarcodeWriter.CreateBarcode("https://ironsoftware.com", BarcodeWriterEncoding.Aztec).ResizeTo(250, 250).SetMargins(10).AddBarcodeValueTextAboveBarcode().SaveAsImage("StyledBarcode.png");
/*** STYLING QR CODES WITH LOGO IMAGES OR BRANDING ***/
// Use the QRCodeWriter.CreateQrCodeWithLogo Method instead of BarcodeWriter.CreateBarcode
// Logo will automatically be sized appropriately and snapped to the QR grid.
var qrCodeLogo = new QRCodeLogo("ironsoftware_logo.png");
GeneratedBarcode myQRCodeWithLogo = QRCodeWriter.CreateQrCodeWithLogo("https://ironsoftware.com/", qrCodeLogo);
myQRCodeWithLogo.ResizeTo(500, 500).SetMargins(10).ChangeBarCodeColor(Color.DarkGreen);
myQRCodeWithLogo.ResizeTo(500, 500).SetMargins(10).ChangeBarCodeColor(Color.DarkGreen);
myQRCodeWithLogo.SaveAsPng("QRWithLogo.Png").SaveAsPdf("MyVerifiedQR.html"); // Save as 2 different formats
Imports IronBarCode
Imports System
Imports System.Drawing
'''* STYLING GENERATED BARCODES **
' BarcodeWriter.CreateBarcode creates a GeneratedBarcode object which allows the barcode to be styled and annotated.
Private MyBarCode As GeneratedBarcode = BarcodeWriter.CreateBarcode("Iron Software", BarcodeWriterEncoding.QRCode)
' Any text (or commonly, the value of the barcode) can be added to the image in a default or specified font.
' Text positions are automatically centered, above or below. Fonts that are too large for a given image are automatically scaled down.
MyBarCode.AddBarcodeValueTextBelowBarcode()
MyBarCode.AddAnnotationTextAboveBarcode("This is My Barcode", New Font(New FontFamily("Arial"), 12, FontStyle.Regular, GraphicsUnit.Pixel), Color.DarkSlateBlue)
' Resize, add margins and check final image dimensions
MyBarCode.ResizeTo(300, 300) ' Resize in pixels
MyBarCode.SetMargins(0, 20, 0, 20) ' Set margins in pixels
Dim FinalWidth As Integer = MyBarCode.Width
Dim FinalHeight As Integer = MyBarCode.Height
' Recolor the barcode and its background
MyBarCode.ChangeBackgroundColor(Color.LightGray)
MyBarCode.ChangeBarCodeColor(Color.DarkSlateBlue)
If Not MyBarCode.Verify() Then
Console.WriteLine("Color contrast should be at least 50% or a barcode may become unreadable. Test using GeneratedBarcode.Verify()")
End If
' Finally, save the result
MyBarCode.SaveAsHtmlFile("StyledBarcode.html")
'''* STYLING BARCODES IN A SINGLE LINQ-STYLE EXPRESSION **
' Create a barcode in one line of code
BarcodeWriter.CreateBarcode("https://ironsoftware.com", BarcodeWriterEncoding.Aztec).ResizeTo(250, 250).SetMargins(10).AddBarcodeValueTextAboveBarcode().SaveAsImage("StyledBarcode.png")
'''* STYLING QR CODES WITH LOGO IMAGES OR BRANDING **
' Use the QRCodeWriter.CreateQrCodeWithLogo Method instead of BarcodeWriter.CreateBarcode
' Logo will automatically be sized appropriately and snapped to the QR grid.
Dim qrCodeLogo As New QRCodeLogo("ironsoftware_logo.png")
Dim myQRCodeWithLogo As GeneratedBarcode = QRCodeWriter.CreateQrCodeWithLogo("https://ironsoftware.com/", qrCodeLogo)
myQRCodeWithLogo.ResizeTo(500, 500).SetMargins(10).ChangeBarCodeColor(Color.DarkGreen)
myQRCodeWithLogo.ResizeTo(500, 500).SetMargins(10).ChangeBarCodeColor(Color.DarkGreen)
myQRCodeWithLogo.SaveAsPng("QRWithLogo.Png").SaveAsPdf("MyVerifiedQR.html") ' Save as 2 different formats
在此示例中,我們看到條形碼可以使用目標機器上安裝的任何字體,標註您選擇的文本或條形碼本身的值。如果該字體不可用,將選擇一個適當的相似字體。 條碼可以調整大小,增加邊距,並且條碼和背景都可以重新上色。 然後可以將它們保存為適當的格式。
在代碼的最後幾行中,您可以看到使用我們的流暢風格操作符,僅需幾行代碼就可以創建並設計條形碼,類似於 System.Linq
。
using IronBarCode;
GeneratedBarcode MyBarCode = BarcodeWriter.CreateBarcode("1234567890", BarcodeWriterEncoding.Code128);
// Save as a stand-alone HTML file without any image assets
MyBarCode.SaveAsHtmlFile("MyBarCode.html");
// Save as a stand-alone HTML image tag which can be served in HTML files, ASPX or MVC Views. No image assets required, the tag embeds the entire image in its source content
string ImgTag = MyBarCode.ToHtmlTag();
// Turn the image into a HTML/CSS Data URI.
string DataURI = MyBarCode.ToDataUrl();
Imports IronBarCode
Private MyBarCode As GeneratedBarcode = BarcodeWriter.CreateBarcode("1234567890", BarcodeWriterEncoding.Code128)
' Save as a stand-alone HTML file without any image assets
MyBarCode.SaveAsHtmlFile("MyBarCode.html")
' Save as a stand-alone HTML image tag which can be served in HTML files, ASPX or MVC Views. No image assets required, the tag embeds the entire image in its source content
Dim ImgTag As String = MyBarCode.ToHtmlTag()
' Turn the image into a HTML/CSS Data URI.
Dim DataURI As String = MyBarCode.ToDataUrl()
IronBarcode 具備一個非常實用的功能,允許條碼以自包含的 HTML 格式輸出,這樣就不會有相關的圖像資產。 一切都包含在 HTML 文件中。
我們可以將內容導出為HTML檔案、HTML圖像標籤或資料URI。
IronBarcode .NET 條碼庫可以在 BarcodeEncoding 枚舉中讀取任何類型的條碼。它能識別 .NET Core、.NET Standard 和 .NET Framework 中的條碼。
為了節省時間並提升庫存工作流程的效率,IronBarcode 推薦使用一維(1D)或線性條碼,包括傳統且成熟的條碼類型,如 UPC 和 EAN 代碼。全球的銷售點服務通常使用 UPC(通用產品代碼)條碼(包含其變體 UPC-A 和 UPC-E)。它使目標消費者更容易識別和跟蹤倉庫和結帳時的產品特徵。UPCA 僅限於具有 12 到 13 位數字的數字內容,而 UPCE 支援 8 到 13 位數字的內容。
與 UPC 類似,歐洲市場使用 EAN 條碼來標籤消費品以供銷售點掃描。其變體包括 EAN-13 作為默認,而 EAN-8 用於包裝空間有限的產品,如糖果。除了靈活性外,作為高密度條碼,EAN-13 能緊湊地編碼較大的數據集。
1D 條碼並不止於此。
汽車和國防工業使用 Code 39 條碼。其名稱解釋了其能編碼 39 個字符的能力(現已修訂為 43 個)。類似地,Code 128 字符集和高數據密度。繼續在物流領域,包裝行業更喜歡使用 ITF(交錯 2 of 5)條碼來標籤包裝材料,如瓦楞紙板,由於其高印刷公差。而 MSI 更適合產品識別和庫存管理。
製藥行業使用製藥二進制代碼。而 RSS 14(縮小空間符號)和 Databar 條碼則是 1D 和 2D 條碼的混合。它是醫療保健用於標記小物品的優選。類似於 Code 128 條碼,Codabar 也是物流和醫療保健的喜愛。它可不依賴電腦工作,且可以通過點陣打印機輸出讀取。
2D 條碼包括 Aztec、Data Matrix、Data Bar、IntelligentMail、Maxicode、QR code。在不同的行業中使用,Aztec 用於交通行業的票和登機牌上,並能在低解析度下讀取。IntelligentMail 限於美國郵件的特定用途,而 Maxicode 用於標準化運輸追踪。
最廣為人知的條碼是 QR code。由於其靈活性、容錯率、可讀性,支持多種數據類型,如數字、字母數字、字節/二進制、和日文漢字,它具有廣泛的用途,從 B2B 到 B2C。
一旦確定類型,IronBarcode 作為領先的條碼生成器會接手!
在 .NET 中读取条码类型现在变得非常轻松,通过 IronBarcode 的多功能、先进且高效的库。
由於IronBarcode能夠輕鬆創建、調整大小和儲存各種條碼類型和格式,這沒有理由不立即開始使用!
使用Fluent API,利用生成的條碼類來設置邊距、調整大小和注釋條碼。然後以圖片格式存檔,IronOCR會自動從文件名稱假設正確的圖片類型。無論是GIF、HTML文件、HTML標籤、JPEG、PNG、TIFF和Windows位圖。
StampToExistingPdfPage方法允許生成條碼並將其蓋印到現有的PDF上。這在編輯一般PDF或通過條碼向文件添加內部識別號時非常有用。
立即聯繫全天候24/7有人客服支援。無論您有問題還是需要專案支援;您可以從我們的30天試用密鑰開始,利用簡單易懂的英語的廣泛文檔資源,或從$749的終身授權中受益。
C# .NET 條碼 QR
看看Frank如何使用IronBarcode從掃描件、照片和PDF文件中讀取條碼,並將其集成到他的C# .NET條碼應用程式中...
觀看Frank的條碼讀取教程C# .NET 條碼
Francesca 分享了一些在 C# 或 VB 應用程序中將條碼寫入圖像的技巧和竅門。瞭解如何使用 IronBarcode 編寫條碼以及所有可用的選項...
請參考Francesca的條碼教學QR .NET C# VB
Jenny 的團隊每天使用 IronBarcode 編寫數千個 QR 碼。 查看他們關於充分利用 IronBarcode 的教程...
珍妮團隊的 QR 編寫教程Iron 團隊在 .NET 軟體元件市場有超過 10 年的經驗。