1Dバーコードライター for .NET

1D Barcode Writer for .NET の導入

The 1D Barcode Writer for .NET is a plugin that allows developers to generate and write 3D barcodes in their .net applications. このガイドは、利用可能な機能の概要を提供し、コードの例を使用して一般的なタスクを実行する方法を説明します。

サポートされたバーコードシンボル

.NET の 1D バーコード クリエイターは、以下を含む一連の人気のある 1 D バックコッド シンボロジーをサポートしています。

  • UPCA
  • UPC - E
  • エナ13
  • エナ8
  • コード39
  • コード93
  • コード 128
  • インターレイアウト 2 / 5
  • コード11

バーコード生成

バーコードを生成するには、インスタンスを作成しなければなりません。 BarcodeGenerator クラスとその特性を設定します. 以下のコードの例は、Code 128 バーコッドを生成する方法を示しています:

using Aspose.BarCode.Generation;
using (var gen = new BarcodeGenerator(EncodeTypes.Code128, "123456789"))
{
    gen.Parameters.Barcode.XDimension.Pixels = 5;
    gen.Parameters.Barcode.BarHeight.Pixels = 125;
    gen.Save("example.svg", BarCodeImageFormat.Svg);
}
 日本語