static public method BarcodesUserAPI.AddBarcode

Brief

Adds a barcode with specified color and background color to the paragraph and returns an instance of BarcodeInlineBuilder.

Declaration
C#
BarcodeInlineBuilder  AddBarcode (this ParagraphBuilder paragraph, string data, BarcodeType barcodeType, Gehtsoft.PDFFlow.Models.Shared.Color strokeColor, Gehtsoft.PDFFlow.Models.Shared.Color backColor, 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.

strokeColor

The barcode color.

backColor

The background color.

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