Interface LabelImageInterface<Format>Internal

Interface version of LabelImage

interface LabelImageInterface<Format extends LabelFormat = NONE> {
    png: Format extends PNG ? LabelDataInterface : null;
    zpl: Format extends ZPL ? LabelDataInterface : null;
}

Type Parameters

Implemented by

Properties

Properties

png: Format extends PNG ? LabelDataInterface : null

The label as a png.

This field will be null unless the requested label format was PNG

zpl: Format extends ZPL ? LabelDataInterface : null

The label as a zpl file.

This field will be null unless the requested label format was ZPL