[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ICodabar

ICodabar Interface

Represents a Codabar barcode.

Codabar is a barcode that uses the characters A, B, C, D, +, -, :, ., /, $, and digits. This interface provides access to Codabar-specific barcode settings in addition to the common barcode, font, and label options defined by IBarcode, IFontOption, and ILabelOption.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public interface ICodabar : IBarcode, IFontOption, ILabelOption
Public Interface ICodabar
    Inherits IBarcode, IFontOption, ILabelOption
Examples
worksheet.Range["A1"].Value = "B2345678B";
worksheet.Range["B1"].Formula = "=BC_CODABAR(A1)";
ICodabar codabar = (ICodabar) worksheet.Range["B1"].Value;
int nwRatio = codabar.NwRatio;
bool checkDigit = codabar.CheckDigit;

Properties

Name Description
CheckDigit

Gets whether the Codabar symbol requires a check digit.

Specifies whether the symbol needs a check digit. The default value is false.

NwRatio

Gets the wide and narrow bar ratio.

This value represents the ratio between wide bars and narrow bars in the Codabar barcode. The supported values are 2 and 3. The default value is 3.