フッターコンテンツにスキップ
C# + VB.NET: バーコードクイックスタート バーコードクイックスタート
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;
Imports IronBarCode
Imports System.Drawing

' Reading a barcode is easy with IronBarcode!
Dim resultFromFile = BarcodeReader.Read("file/barcode.png") ' From a file
Dim resultFromBitMap = BarcodeReader.Read(New Bitmap("barcode.bmp")) ' From a bitmap
Dim resultFromImage = BarcodeReader.Read(Image.FromFile("barcode.jpg")) ' From an image file
Dim resultFromPdf = BarcodeReader.ReadPdf("file/mydocument.pdf") ' From PDF use ReadPdf

' To configure and fine-tune barcode reading, utilize the BarcodeReaderOptions class
Dim myOptionsExample As New BarcodeReaderOptions With {
    ' 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
Dim results = BarcodeReader.Read("barcode.png", myOptionsExample)

' Create a barcode with one line of code
Dim 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
Dim myBarcodeImage = myBarcode.Image
Install-Package BarCode

IronBarcodeは、画像ファイル(jpeg、png、jpg)から、変数を渡したいプログラム的なフォーマットまで、さまざまな標準フォーマットをサポートしています。さらに、PDFなどの外部形式もサポートしており、IronBarcodeをあらゆるコードベースにシームレスに統合し、開発者にファイル形式と変数の柔軟性を提供します。

IronBarcodeは、あらゆるファイル形式に対応したBARCODEリーダーであるだけでなく、Code39などのすべての標準エンコーディングおよびフォーマットをサポートするBARCODEジェネレーターとしても機能します。 バーコードジェネレータのセットアップには、わずか2行のコードを必要とします。 参加のバリアが低く、多くのカスタマイズオプションを開発者に提供するIronBarcodeは、バーコードに関連するすべての状況においてナンバーワンの選択肢です。

C# でのバーコード リーダーとバーコード ジェネレーター

  1. `var myBarcode = BarcodeWriter.CreateBarcode("12345", BarcodeEncoding.EAN8);`.
  2. `Image myBarcodeImage = myBarcode.ToImage();`。
  3. `myBarcode.ResizeTo(400, 100);`.
  4. `var resultFromFile = BarCodeReader.Read(@"file/barcode.png");`.
  5. `var myOptionsExample = new BarcodeReaderOptions { /* Options */ };`

バーコードライター

まず、EAN8の形式でBARCODEとして作成します。 その後、生成されたバーコードを希望するフォーマットで画像として保存します。 IronBarcodeは、Bitmap形式でのBARCODE作成をサポートしているため、これには様々な選択肢があります。

高度なバーコードライター

上記の通り、IronBarcodeを使用してバーコードを生成するには、たった2行のコードで、後で利用するためにファイルとして保存します。 IronBarcodeはさらに、状況に応じてカスタマイズできるオプションの数々を開発者に提供します。

ResizeTo メソッドを使用し、高さと幅を引数として渡すことで、BARCODE画像のサイズを変更できます。

バーコードリーダー

上記と同様に、まず BarcodeReader をインスタンス化し、ファイルパスを Read メソッドに渡して変数として保存し、後で BARCODE オブジェクトを操作するために使用します。 ReadPDF を使用するなど、PDF などの外部形式を読み込むための特定のメソッドが用意されています。 ただし、一般的な画像形式やビットマップについては、Readを使用します。

BarcodeReaderOptions

IronBarcodeは、標準ファイル形式からバーコードをスキャンすることを開発者に可能にします。 ただし、特にプログラムでBARCODEファイルのバッチを読み込む場合など、開発者が BarcodeReaderOptions メソッドの動作を微調整したい状況もあります。 そこで BarcodeReaderOptions が役立ちます。 IronBarcode を使用すると、Speed による読み取り速度、ExpectedMultipleBarcodes によるファイル内の BARCODE 数が複数あるかどうかの指定、および ExpectBarcodeTypes プロパティによる BARCODE の種類など、あらゆる設定を完全にカスタマイズできます。 これにより、開発者は複数のスレッドを使用して複数の画像からバーコードを並行して読み取ることができ、並行読み取り時に使用するスレッドの数を制御することができます。

これらは、IronBarcodeの力を示すプロパティのいくつかに過ぎません。 完全なリストについては、ドキュメントを参照してください。

詳細なガイドでBARCODEの作成方法を学びましょう! Read

C# + VB.NET: 不完全なバーコードと画像補正 不完全なバーコードと画像補正
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")
Install-Package BarCode

IronBarcodeは、BarcodeReaderOptions内で簡単に適用できる、数多くの画像前処理フィルターを提供しています。 画像の読み取り性を向上させる可能性のあるフィルター(Contrastなど)を選択してください。 選択した順序が適用される順序であることに注意してください。

各フィルター適用後の中間画像データを保存するオプションがあります。 これは、SaveAtEachIterationプロパティで切り替えることができます。

コード例の主要ポイント:

  • Contrastといったさまざまな画像フィルターを設定します。
  • フィルターは特定の順序で追加され、適用されるべき順序を示します。
  • cacheAtEachIterationtrue に設定することで、ライブラリは各フィルタの適用後に中間画像を保存します。これはデバッグや分析に役立ちます。
  • 最後に、画像からバーコードを読み取り、バーコードの種類と値をコンソールに出力します。

IronBarcodeの画像補正について詳しく見る

C# + VB.NET: バーコード画像の作成 バーコード画像の作成
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
Install-Package BarCode

この例では、さまざまな種類と形式のバーコードが作成、サイズ変更、保存できることがわかります。 おそらく、一行のコードで。

当社のFluent APIを使用することで、生成されたbarcodeクラスを利用して、余白の設定、サイズ変更、およびBARCODEへの注釈付けを行うことができます。 その後、これらは画像として保存され、IronBarcodeがファイル名から自動的に適切な画像タイプを仮定します:GIF、HTMLファイル、HTMLタグ、JPEG、PDF、PNG、TIFF、およびWindowsビットマップ

また、既存のPDFにBARCODEを生成してスタンプできるStampToExistingPdfPageメソッドも用意されています。 これは、一般的なPDFを編集したり、バーコードを介してドキュメントに内部識別番号を追加したりする場合に便利です。

C# + VB.NET: バーコードスタイリング & アノテーション バーコードスタイリング & アノテーション
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");

// 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.
Dim 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")

' 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 = 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
Install-Package BarCode

このサンプルでは、BARCODEに任意のテキスト、または barcode 自体の値を、ターゲットマシンにインストールされている任意のフォントを使用して注釈として追加できることがわかります。そのフォントが利用できない場合は、適切な類似のフォントが選択されます。 BarCodeのサイズ変更や余白の追加が可能であり、barcodeおよび背景色の変更も可能です。 その後、適切な形式で保存できます。

コードの最後の数行を見ると、当社の流暢なスタイル演算子を使用することで、System.Linqと同様のものを作成し、スタイルを設定できることがわかります。

C# + VB.NET: バーコードをHTMLとしてエクスポート バーコードをHTMLとしてエクスポート
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()
Install-Package BarCode

IronBarcodeには非常に便利な機能があり、自己完結型のHTMLとしてバーコードをエクスポートできます。このため、関連する画像アセットは必要ありません。 すべてがHTMLファイル内に含まれています。

私たちはHTMLファイルHTML画像タグ、またはデータURIとしてエクスポートすることができます。

この例では:

  • BarcodeWriter.CreateBarcode を使用して、入力データとエンコード方式を指定し、BARCODEを作成します。
  • IronBarcodeが提供する異なるメソッドを使用して、バーコードをエクスポートします:
  • ToHtmlTag() は、Web ページに埋め込むことができる HTML <img> タグを生成します。
  • ToDataUri() は、<img> タグのソースとして、あるいは画像 URL が必要なほぼすべての場所で使用できるデータ URI 文字列を生成します。
  • SaveAsHtmlFile() は、BARCODE をすべての画像データをインラインで含む独立した HTML ファイルとして保存するため、ポータブルで共有しやすい形式となります。

Human Support related to C# QRコードライブラリ

当社の開発チームからの直接的な人間サポート

製品、統合、またはライセンスの問い合わせであろうと、Ironの製品開発チームはすべての質問に対応します。Ironと対話を始め、このライブラリをプロジェクトで最大限に活用してください。

質問をする
Recognizes Barcode Qr related to C# QRコードライブラリ

複数のQRコードタイプを発見

IronBarcode は、UPC A/E、EAN 8/13、Code 39、Code 93、Code 128、ITF、MSI、RSS 14/Expanded、Databar、CodaBar、QR、Styled QR、Data Matrix、MaxiCode、PDF417、Plessey、および Aztec などの大多数のバーコードおよび QR 規格を読み取り、生成します。結果はバーコードデータ、種類、ページ、テキスト、およびバーコード画像を提供し、アーカイブまたはインデックスシステムに最適です。

完全な機能一覧を見る
Fast And Polite Behavior related to C# QRコードライブラリ

画像プリプロセッシングによる高速かつ正確な読み取り

IronBarcode は自動的にバーコード画像を事前処理して速度と精度を向上させます。回転、ノイズ、歪み、傾きを補正して、スキャンまたはライブビデオフレームを読み取ります。バッチ処理サーバーアプリケーションに対応したマルチコア、マルチスレッドに準備ができています。単一および複数ページのドキュメントで1つまたは複数のバーコードを自動的に見つけます。複雑なAPIを必要とせずに特定のバーコードタイプまたはドキュメントの場所を検索します。

さらに詳しく知る
Built For Dot Net related to C# QRコードライブラリ

.NET Core、Standard、Frameworkプロジェクトでの簡単な使用のために構築

数行のコードで数分で始めましょう。依存関係なしで.NET用に簡単に使用できる単一DLLとして構築され、32 & 64ビットをサポートし、任意 for .NET言語で使用できます。ウェブ、クラウド、デスクトップ、またはコンソールアプリケーションで使用し、モバイル & デスクトップデバイスをサポートします。

このソフトウェア製品をリンクからダウンロードできます。

QRのために構築 C#, .NET

今すぐ始めよう
Write Barcodes related to C# QRコードライブラリ

QRコードを複数形式で書き込む

PDF、JPG、TIFF、GIF、BMP、PNG、HTML 形式としてファイルまたはストリームに保存または印刷します。色、品質、回転、サイズ、テキストを設定します。C# バーコードプログラミング ツールボックスを IronPDF および IronOCR と一緒に使用して、完全な.NET ドキュメントライブラリを利用します。

さらに詳しく知る
サポート:
  • .NET Core 2.0以上
  • .NET Framework 4.0以上のサポート C#、VB、F#
  • Microsoft Visual Studio. .NET開発IDEアイコン
  • Visual Studio のための NuGet インストーラーサポート
  • JetBrains ReSharper C#言語アシスタント互換
  • Microsoft Azure C# .NETホスティングプラットフォーム互換

ライセンスと価格

無料のコミュニティ開発ライセンス。商用ライセンスは$749から。

プロジェクト C# + VB.NET ライブラリライセンス

プロジェクト

開発者C# + VB.NETライブラリライセンス

開発者

組織向けC# + VB.NETライブラリライセンス

組織

代理店C# + VB.NETライブラリライセンス

代理店

SaaS C# + VB.NETライブラリライセンス

SaaS

OEM C# + VB.NETライブラリライセンス

OEM

完全なライセンスオプションを見る  

C# & VB .NET用QRコードチュートリアル

C# でバーコードを読むためのチュートリアル + コード例 | .NET チュートリアル

C# .NET バーコード QR

Frank Walker .NET プロダクトデベロッパー

バーコードおよびQRを読み取る | C# VB .NETチュートリアル

Frank が C# .NET バーコードアプリケーション内で IronBarcode を使用してスキャン、写真、PDF ドキュメントからバーコードを読む方法をご覧ください…

Frank のバーコード読み取りチュートリアルを見る
C# & VB.NET でバーコードを書き込むためのチュートリアル + コード例

C# .NET バーコード

Francesca Miller ジュニア .NET エンジニア

C# または VB.NET でバーコード画像を生成する

Francesca は C# または VB アプリケーションで画像にバーコードを書き込むためのいくつかのヒントとコツを共有します。IronBarcode で利用できるすべてのオプションをどのように活用してバーコードを書くかをご覧ください…

Francesca のバーコードチュートリアルを見る
チュートリアル + コード例 VB.NET PDF作成と編集 | VB.NET & ASP.NET PDF

QR .NET C# VB

Jennifer Wright アプリケーションアーキテクチャリーダー

C# & VB .NET アプリケーションで QR コードを書くためのチュートリアル

Jenny のチームは IronBarcode を使って毎日何千もの QR を書いています。IronBarcode を最大限に活用するためのチュートリアルをご覧ください…

Jenny のチームによる QR 書き込みチュートリアル
何千人もの開発者が IronBarcode を使用しています…

会計および財務のシステム

  • # 領収書
  • # 報告
  • # 請求書印刷
ASP.NET会計および財務システムにPDFサポートを追加

ビジネスのデジタル化

  • # ドキュメント
  • # 注文&ラベリング
  • # 用紙の置き換え
C#ビジネスデジタル化のユースケース

エンタープライズコンテンツ管理

  • # コンテンツ制作
  • # ドキュメント管理
  • # コンテンツ配布
.NET CMS PDFサポート

データと報告アプリケーション

  • # パフォーマンストラッキング
  • # トレンドマッピング
  • # レポート
C# PDFレポート
Iron Softwareエンタープライズ.NETコンポーネント開発者

何千もの企業、政府、小規模企業、開発者がIronソフトウェア製品を信頼しています。

Ironのチームは、.NETソフトウェアコンポーネント市場で10年以上の経験があります。

Iron Customer Icon
Iron Customer Icon
Iron Customer Icon
Iron Customer Icon
Iron Customer Icon
Iron Customer Icon
Iron Customer Icon
Iron Customer Icon

アイアンサポートチーム

私たちは週5日、24時間オンラインで対応しています。
チャット
メール
電話してね