static public method BarcodesUserAPI.AddBarcode

Brief

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

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

Parameters
paragraph

The paragraph to add the barcode to.

data

The input data with the code to be rendered.

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