Skip to content

System.ArgumentNullException: 'Parameter "name" must be not null. (Parameter 'name')' #39

Open
@joost00719

Description

I am trying to generate an image using the NetBarcode library.
However I get a ArgumentNullException.
My code looks like this:

    var bc = new NetBarcode.Barcode(code, NetBarcode.Type.EAN13, true);
    var b64 = bc.GetBase64Image();

Am I doing something wrong, or is there an error in the library?
I am running this in Blazor (server side). .NET version 7.0

Thanks in advance!

image

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions