[]
Represents a Code 128 barcode.
The Code 128 barcode is a linear barcode that represents high-density linear symbology to encode text, numbers, various functions and the entire 128 ASCII character set (from ASCII 0 to ASCII 127). It is widely used in enterprise internal management, production processes, and logistics control systems.
Instances of this interface are typically returned from a cell whose value is generated by the
BC_CODE128 formula. This interface also includes barcode, label, and font settings through
IBarcode, ILabelOption, and IFontOption.
public interface ICode128 : IBarcode, ILabelOption, IFontOption
Public Interface ICode128
Inherits IBarcode, ILabelOption, IFontOption
worksheet.Range["A1"].Value = "123456789";
worksheet.Range["B1"].Formula = "=BC_CODE128(A1,\"rgb(0, 0, 0)\",\"rgb(255, 255, 255)\",1,\"bottom\",\"auto\",,\"normal\",\"normal\",\"none\",\"center\",12,10,10,0,0)";
ICode128 code128 = (ICode128) worksheet.Range["B1"].Value;
string codeSet = code128.CodeSet;
| Name | Description |
|---|---|
| CodeSet | Gets the code set used by the Code 128 barcode.
This value determines which Code 128 code set is used to encode the barcode text.
Supported values are |