Skip to content

PdfUspsPicBarcode Class

Definition

Namespace: Xfinium.Pdf.Graphics

Defines an USPS Package Identification Code barcode.

C#
public class PdfUspsPicBarcode : PdfCode128CBarcode

Inheritance: Object → PdfBarcode → Pdf1DBarcode → PdfCode128Barcode → PdfCode128CBarcode → PdfUspsPicBarcode

Remarks

Supported characters: 0 1 2 3 4 5 6 7 8 9
Data length: 21 digits for standard barcode or 29 digits for concatenated barcode.
USPS PIC standard barcode structure:
1 - 2 - Application Identifier (91)
3 - 4 - Service Type Code (STC)
5 - 13 - Customer ID: DUNS number that uniquely identifies the customer
14 - 21 - Package Sequence Number (PSN)
USPS PIC concatenated barcode structure:
1 - 3 - Routing Application Identifier (420)
4 - 8 - 5-digit ZIP code
9 - 10 - Application Identifier (91)
11 - 12 - Service Type Code (STC)
13 - 21 - Customer ID: DUNS number that uniquely identifies the customer
22 - 29 - Package Sequence Number (PSN)

Constructors

Name Description
PdfUspsPicBarcode() Initializes a new PdfUspsPicBarcode object.
PdfUspsPicBarcode(String) Initializes a new PdfUspsPicBarcode object.

Properties

Name Description
BackgroundColor Gets or sets the barcode background color.
(inherited from PdfBarcode)
BarcodeTextPosition Gets or sets the barcode text position.
(inherited from Pdf1DBarcode)
BarColor Gets or sets the barcode bar color.
(inherited from PdfBarcode)
BarWidthReduction Gets or sets the bar width reduction.
(inherited from Pdf1DBarcode)
Data Gets or sets the barcode data.
(inherited from PdfBarcode)
EnableCheckSum Gets or sets a value indicating whether a checksum should be computed.
(inherited from Pdf1DBarcode)
Font Gets or sets the barcode text font.
(inherited from Pdf1DBarcode)
Height Gets the barcode height.
(inherited from PdfBarcode)
QuietZones Gets the barcode quiet zones.
(inherited from PdfBarcode)
ShowCheckSum Gets or sets indicating whether the computed checksum should be shown.
(inherited from Pdf1DBarcode)
TextColor Gets or sets the barcode text color.
(inherited from PdfBarcode)
Width Gets the barcode width.
(inherited from PdfBarcode)
XDimension Gets or sets the X dimension.
(inherited from PdfBarcode)
YDimension Gets or sets the Y dimension.
(inherited from PdfBarcode)