Skip to content

PDFCodablockFBarcode

Namespace: O2S.Components.PDF4NET.Graphics

Defines a CODABLOCK F barcode.

public class PDFCodablockFBarcode : PDF2DBarcode

Inheritance ObjectPDFBarcodePDF2DBarcodePDFCodablockFBarcode

Constructors

PDFCodablockFBarcode()

Initializes a new PDFCodablockFBarcode object.

public PDFCodablockFBarcode()

Properties

BackgroundColor

Gets or sets the barcode background color.

public PDFColor BackgroundColor { get; set; }

Property Value

PDFColor
A PDFColor that represents the color used to fill the barcode background.


BarColor

Gets or sets the barcode bar color.

public PDFColor BarColor { get; set; }

Property Value

PDFColor
A PDFColor that represents the color used to draw the barcode bars.


BinaryData

Gets or sets the binary data.

public Byte[] BinaryData { get; set; }

Property Value

Byte[]
An array of bytes representing the data to be encoded.


Columns

Gets or sets the barcode columns.

public int Columns { get; set; }

Property Value

Int32
The number of data columns.

Remarks

Codablock F barcodes support 7 to 65 columns.


Data

Gets or sets the barcode data.

public string Data { get; set; }

Property Value

String
A string of characters that represents the data to be encoded as a barcode.

Remarks

Each barcode type specifies the characters it supports.


Height

Gets the barcode height.

public double Height { get; }

Property Value

Double
The height of the barcode.


QuietZones

Gets the barcode quiet zones.

public PDFBarcodeQuietZones QuietZones { get; }

Property Value

PDFBarcodeQuietZones
Left, right, top and bottom quiet zones.


Rows

Gets or sets the barcode rows.

public int Rows { get; set; }

Property Value

Int32
The number of data rows.

Remarks

Codablock F barcodes support 2 to 44 rows.


TextColor

Gets or sets the barcode text color.

public PDFColor TextColor { get; set; }

Property Value

PDFColor
A PDFColor that represents the color used to display the barcode text.


Width

Gets the barcode width.

public double Width { get; }

Property Value

Double
The width of the barcode.


XDimension

Gets or sets the X dimension.

public double XDimension { get; set; }

Property Value

Double
The width of a narrow barcode bar.


YDimension

Gets or sets the Y dimension.

public double YDimension { get; set; }

Property Value

Double
The height of a barcode row.

Remarks

Minimum recommended value is Max(8 * PDFBarcode.XDimension, 0.55 * PDFCodablockFBarcode.Columns + 3).