static public method BarcodesUserAPI.AddBarcode

Brief

Adds a barcode with specified width and height to cut to the repeating area and returns an instance of BarcodeBuilder.

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

Parameters
area

The repeating area to add the barcode to.

data

The user data for encoding.

barcodeType

The barcode type.

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