Skip to content

PDFFedExGround96Barcode

Namespace: O2S.Components.PDF4NET.Graphics

Defines a FedEx Ground 96 barcode.

public class PDFFedExGround96Barcode : PDFCode128CBarcode

Inheritance ObjectPDFBarcodePDF1DBarcodePDFCode128BarcodePDFCode128CBarcodePDFFedExGround96Barcode

Remarks

Supported characters: 0 1 2 3 4 5 6 7 8 9.
Data length: 21 digits (first 2 digits must be 96).
FedEx Ground 96 barcode structure:
1 - 2 - Application Identifier (must be 96)
3 - 4 - Two digit "Serial Container Numeric Code" - "11, 12, 13" identifies the carrier as "FedEx Ground".
5 - 7 - Class of Service - Three-digit number used to identify the FedEx Ground class of service.
8 - 14 - FedEx Ground Shipper ID - Seven-digit unique shipper identification number.
15 - 21 - Package Number - Seven-digit package serial number.

Constructors

PDFFedExGround96Barcode()

Initializes a new PDFFedExGround96Barcode object.

public PDFFedExGround96Barcode()

PDFFedExGround96Barcode(String)

Initializes a new PDFFedExGround96Barcode object.

public PDFFedExGround96Barcode(string data)

Parameters

data String
The barcode data.


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.


BarcodeTextPosition

Gets or sets the barcode text position.

public PDFBarcodeTextPosition BarcodeTextPosition { get; set; }

Property Value

PDFBarcodeTextPosition
A PDFBarcodeTextPosition that represents the position where the barcode text is displayed.


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.


BarWidthReduction

Gets or sets the bar width reduction.

public double BarWidthReduction { get; set; }

Property Value

Double
A value used for reducing the bar width (not the space width) in order to compensate for ink bleeding when printing the barcode on various surfaces.


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.


EnableCheckSum

Gets or sets a value indicating whether a checksum should be computed.

public bool EnableCheckSum { get; set; }

Property Value

Boolean
If true, a checksum is computed automatically for the barcode.


Font

Gets or sets the barcode text font.

public PDFFont Font { get; set; }

Property Value

PDFFont
A PDFFont that is used to draw the barcode text.


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.


ShowCheckSum

Gets or sets indicating whether the computed checksum should be shown.

public bool ShowCheckSum { get; set; }

Property Value

Boolean
If true the checksum is shown together with the barcode text.


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 bar.