[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ICode39

ICode39 Interface

Represents a Code 39 barcode.

Code 39 is a linear barcode that uses a total of nine bars to represent each symbol, including numeric characters, upper-case characters, and some special characters ("%","*","$","/",".","-","+"). This interface also provides barcode, font, and label options through IBarcode, IFontOption, and ILabelOption.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public interface ICode39 : IBarcode, IFontOption, ILabelOption
Public Interface ICode39
    Inherits IBarcode, IFontOption, ILabelOption
Examples
worksheet.Range["A1"].Value = "CODE39-100";
worksheet.Range["B1"].Formula = "=BC_CODE39(A1)";
ICode39 code39 = (ICode39) worksheet.Range["B1"].Value;
bool fullASCII = code39.FullASCII;

Properties

Name Description
CheckDigit

Gets whether the Code 39 symbol requires a check digit.

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

FullASCII

Gets whether full ASCII is supported for Code 39.

When this property is true, the barcode can encode ASCII characters beyond the standard Code 39 character set. The default value is false.

LabelWithStartAndStopCharacter

Gets whether to show the start and stop character in the label.

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 Code 39 barcode. The supported values are 2 and 3. The default value is 3.