1D Barcode Writer for .NET
Ohjelma 1D Barcode Writer for .NET
1D Barcode Writer for .NET on plug-in, jonka avulla kehittäjät voivat tuottaa ja kirjoittaa 3D-barcodes niiden sovelluksissa.Tämä opas tarjoaa yleiskuvan käytettävissä olevista ominaisuuksista ja selittää, miten suorittaa yhteisiä tehtäviä käyttämällä koodin esimerkkejä .Net.
Tuetut Barcode Symbolit
1D Barcode Writer for .NET tukee monenlaisia suosittuja 1d-barcode symboloita, mukaan lukien:
- UPC-A
- UPC-E
- Tyyppi 13
- EAN 8
- Koodi 39
- Koodi 93
- Koodi 128
- Sijoitettu 2 / 5
- Koodi 11
Barkodeja luodaan
To generate a barcode, you need to create an instance of the BarcodeGenerator
class and set its properties. The following code example demonstrates how to generate a Code 128 barcode:
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);
}