Skip to content

Create Extension Method for Barcode and QRCode commands #31

@igorocampos

Description

@igorocampos

Dependent on #29

Once the new Barcode and QRCode methods are created, we can create methods that will extend a string (the barcode data) like this

public static byte[] ToBarcode(this string barcode, BarCodeType barCodeType, int heightInDots = 162, BarcodeWidth barcodeWidth = BarcodeWidth.Normal )
  => Commands.Barcode(barCodeType, barcode, heightInDots, barcodeWidth);

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions