Generating barcode using BarcodeLib

Anonymous
2024-08-21T13:54:48.6033333+00:00

I try to generate barcodes using BarcodeLib from NuGets library in visul studio 2019. But I have an errorUser's image

Developer technologies Visual Studio Other
Developer technologies C#
{count} votes

Accepted answer
  1. Viorel 122.5K Reputation points
    2024-08-21T15:46:25.49+00:00

    To solve the compilation errors, try this:

    SkiaSharp.SKImage img = barcode.Encode( BarcodeStandard.Type.UpcA, txtinvoice.Text, SkiaSharp.SKColors.Black, SkiaSharp.SKColors.White, 290, 120 );
    
    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.