static public method BarcodesUserAPI.AddBarcode

Brief

Adds a barcode with specified width, height to cut, color, and background color to the table cell and returns an instance of BarcodeBuilder.

Declaration
C#
BarcodeBuilder  AddBarcode (this TableCellBuilder cell, string data, BarcodeType barcodeType, Gehtsoft.PDFFlow.Models.Shared.Color strokeColor, Gehtsoft.PDFFlow.Models.Shared.Color backColor, Single width, Gehtsoft.PDFFlow.Models.Shared.XUnit heightToCut, bool showDataLabel = True, bool hasQuiteZones = True, BarcodeRotation barcodeRotation = 0)

Parameters
cell

The table cell to add the barcode to.

data

The user data for encoding.

barcodeType

The barcode type.

strokeColor

The barcode color.

backColor

The background color.

width

The barcode width. If 0, the default value is applied

heightToCut

The height to cut from the top of the barcode in percent or in pixels.

showDataLabel

Defines whether the input data are printed under the barcode lines.

hasQuiteZones

Defines whether the barcode has quiet zones.

barcodeRotation

Defines barcode rotation angle.

Declared in BarcodesUserAPI

back