.NET PDF Barcode Generator Library - Generate Barcodes on PDF C#/VB.NET

CnetSDK .NET Barcode Generator for PDF, used for generating barcodes on PDF for C# and VB.NET windows desktop and web applications. Easy to use .NET APIs to generate 1d and 2d barcodes on PDF pages in C#/VB.NET, like QR Code, Data Matrix, PDF417, Code 128, Code 39, EAN/UPC, etc.

C# (1.6 MB)
150 times
Add to favorites
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question

  • DLL file not load
    2 Posts | Last post March 06, 2019
    • I am loading this file CnetSDK.Barcode.Generator.Trial.dll from object browser. but this file upload in this type format (Assembly CNETSD~1)tell me how to add this file CnetSDK.Barcode.Generator.Trial.dll this is sample code.
      Imports System
      Imports CnetSDK.PDFBarcode.Generator.Trial
      Imports CnetSDK.PDFBarcode.Generator.Trial.Pdf
      Imports CnetSDK.PDFBarcode.Generator.Trial.Drawing
      Imports CnetSDK.PDFBarcode.Generator.Trial.Barcode
      Module VBNETPDFCode128Generator
          Sub Main()
              ' Create a PDF and get graphics object from its page. 
              Dim PDFBarcodeCreator As PdfFile = New PdfFile()
              Dim SamplePage As PdfFilePage = PDFBarcodeCreator.CreatePage()
              Dim SampleGraphics As CSImage = CSImage.FromFilePage(SamplePage)
              ' Create a barcode object and set its type as Code 128. 
              Dim Code128 As CSBarcodeOnPdf = New CSBarcodeOnPdf()
              Code128.BarcodeType = CSBarcodeType.Code128
              ' Set Code 128 properties. 
              Code128.BarcodeData = "012801280128"
              Code128.BarColor = CSColor.Black
              Code128.BackgroundColor = CSColor.White
              Code128.BarcodeSize = New CSSize(180, 60)
              Code128.DisplayText = True
              ' Set Code 128 location on PDF file page. 
              Code128.BarcodeLocation = New CSPosition(90, 90)
              ' Save and show PDF file.         
              'Support Email: support@cnetsdk.com.
          End Sub
      End Module
    • Hello, Softlin
      Thanks for writing to us.
      Please send an email to support@cnetsdk.com. Our technical team can provide you with a demo project.
      Best Regards,
      Customer Support Team
      Email: support@cnetsdk.com
      Website: www.cnetsdk.com