[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IEAN13.AddOn

AddOn Property

AddOn

Gets the add-on text of the EAN-13 barcode.

The add-on text is an optional supplemental code associated with the barcode. When present, its length is 2 or 5 characters.

In the example below, cell A1 provides the 12-digit primary code and "12" passed to the formula is the separate add-on text.

Declaration
string AddOn { get; }
ReadOnly Property AddOn As String
Examples
worksheet.Range["A1"].Value = "123456789012";
worksheet.Range["B1"].Formula = "=BC_EAN13(A1,\"rgb(0, 0, 0)\",\"rgb(255, 255, 255)\",1,\"bottom\",\"12\",\"bottom\",,\"normal\",\"normal\",\"none\",\"center\",12,11,7,0,0)";
IEAN13 barcode = (IEAN13) worksheet.Range["B1"].Value;
string primaryCode = barcode.Value;
string addOn = barcode.AddOn;