static public method BarcodesUserAPI.AddBarcodeToParagraph

Brief

Adds a barcode with specified width and height to cut to the paragraph and returns the ParagraphBuilder.

Declaration
C#
ParagraphBuilder  AddBarcodeToParagraph (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 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