CrazyEngineers
  • Generating Barcodes in C# For .Net Application.

    judy000

    Member

    Updated: Oct 26, 2024
    Views: 1.3K
    I am recently leaning <a href="https://www.keepautomation.com/guide/csharp_barcode_generator.html" target="_blank" rel="nofollow noopener noreferrer">C# Barcode Generator: how to create, generate, print barcode label image using c# in asp.net mvc, windows application. Free download with open source example.</a>. And below is my C# code. Could you help me check what's the problem it has for an error occurred when debugging. Thank you so much.
    using KeepAutomation.Barcode.Bean;
     
    BarCode barcode = new BarCode();
    barcode.Symbology = KeepAutomation.Barcode.Symbology.Code39;
    barcode.CodeToEncode = "111222333";
    barcode.ChecksumEnabled = true;
    barcode.X = "6";
    barcode.Y = "50";
    barcode.ImageFormat = System.Drawing.Imaging.ImageFormat.Gif;
    barcode.generateBarcodeToImageFile("C://barcode-code39-csharp.gif");
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • simplycoder

    MemberJun 8, 2013

    Hi and Welcome to CE.

    What error are you getting?
    Have you stepped through your code using a debugger?
    Can you please provide more details something like stack-trace or similar
    Are you sure? This action cannot be undone.
    Cancel
  • Nana Klinton

    MemberJan 26, 2014

    HI there
    Thanks for your useful information.It is difficult to generate barcode code 39 using a code.W

    hy don't you just google a barcode generater to help you out?

    That would be more convenient.Best wishes.
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register