static public method BarcodesUserAPI.AddBarcode

Brief

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

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

Parameters
section

The section 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