[]
        
(Showing Draft Content)

IEAN8

Interface IEAN8

All Superinterfaces:
IBarcode, IFontOption, ILabelOption

public interface IEAN8 extends IFontOption, IBarcode, ILabelOption
Represents an EAN-8 barcode.

An EAN-8 barcode consists of 7 numeric digits and 1 check digit. This barcode accepts a string of 7 digits, calculates the check digit, and appends it as the eighth digit.

This interface provides the barcode value together with inherited font, barcode, and label options.


 worksheet.getRange("A1").setFormula("=BC_EAN8(1234567)");
 IEAN8 ean8 = (IEAN8) worksheet.getRange("A1").getValue();
 String value = ean8.getValue();