Share via

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 | Visual Studio | Other

A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.

Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.


Answer accepted by question author
  1. Viorel 126.9K 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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.