Represents a Code128C barcode.
Namespace: Spire.Pdf.BarcodeAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public class PdfCode128CBarcode : PdfUnidimensionalBarcode
Public Class PdfCode128CBarcode Inherits PdfUnidimensionalBarcode
public ref class PdfCode128CBarcode : public PdfUnidimensionalBarcode
type PdfCode128CBarcode = class inherit PdfUnidimensionalBarcode end
Members
| All Members | Constructors | Fields | Properties | Methods |
| Member | Description | |
|---|---|---|
| PdfCode128CBarcode()()()() |
Initializes a new instance of the class.
| |
| PdfCode128CBarcode(String) |
Initializes a new instance of the class.
| |
| BackColor |
Gets or sets the back color of the barcode.
(Inherited from PdfBarcode.) | |
| BarcodeToTextGapHeight |
Gets or sets the gap between the barcode and the displayed text.
(Inherited from PdfUnidimensionalBarcode.) | |
| BarColor |
Gets or sets the bar color of the barcode.
(Inherited from PdfBarcode.) | |
| BarHeight |
Gets or sets the bar height.
(Inherited from PdfBarcode.) | |
| Bounds |
Gets or sets the rectangular area occupied by the barcode.
(Inherited from PdfBarcode.) | |
| CalculateCheckDigit()()()() | (Overrides PdfUnidimensionalBarcode..::..CalculateCheckDigit()()()().) | |
| check | (Inherited from PdfUnidimensionalBarcode.) | |
| continuous | (Inherited from PdfUnidimensionalBarcode.) | |
| Draw(PdfPageBase, PointF) |
Draws the barcode on the at the specified location.
(Inherited from PdfUnidimensionalBarcode.) | |
| Draw(PdfPageBase, RectangleF) |
Draws the barcode on the at the specified region.
(Inherited from PdfUnidimensionalBarcode.) | |
| Draw(PdfPageBase, PointF, SizeF) |
Draws the barcode on the at the specified location with the size.
(Inherited from PdfUnidimensionalBarcode.) | |
| EnableCheckDigit | Obsolete.
Gets or sets a value indicating whether to enable to check digit calculation in the generated barcode or not.
(Inherited from PdfUnidimensionalBarcode.) | |
| EncodeStartStopSymbols |
Gets or sets a value indicating whether [encode start stop symbols].
(Inherited from PdfUnidimensionalBarcode.) | |
| Equals(Object) |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| Font |
Gets or sets the Text font.
(Inherited from PdfUnidimensionalBarcode.) | |
| GetCharWidth(Char) | (Inherited from PdfUnidimensionalBarcode.) | |
| GetDataToEncode(String) | ||
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetSize()()()() | (Inherited from PdfUnidimensionalBarcode.) | |
| GetTextToEncode()()()() | (Overrides PdfUnidimensionalBarcode..::..GetTextToEncode()()()().) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Location |
Gets or sets the location to render barcode in the PDF Document.
(Inherited from PdfBarcode.) | |
| m_bounds | (Inherited from PdfBarcode.) | |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| NarrowBarWidth |
Gets or sets the narrow bar width.
(Inherited from PdfBarcode.) | |
| PaintRectangle(PdfPageBase, RectangleF) | (Inherited from PdfUnidimensionalBarcode.) | |
| QuietZone |
Gets or sets the empty area which is to be allocated around the barcode.
(Inherited from PdfBarcode.) | |
| ShowCheckDigit | Obsolete. (Inherited from PdfUnidimensionalBarcode.) | |
| Size |
Gets the size of the barcode.
(Inherited from PdfBarcode.) | |
| Text |
Gets or Sets the barcode text.
(Inherited from PdfBarcode.) | |
| TextAlignment |
Gets or sets the alignment of the text displayed on the barcode.
(Inherited from PdfUnidimensionalBarcode.) | |
| TextColor |
Gets or sets the text color of the barcode text.
(Inherited from PdfBarcode.) | |
| TextDisplayLocation |
Gets or sets the text display location.
(Inherited from PdfUnidimensionalBarcode.) | |
| ToImage()()()() |
Exports the barcode as image.
(Inherited from PdfUnidimensionalBarcode.)Return ValueThe barcode image. | |
| ToString()()()() |
Returns a String that represents the current Object.
(Inherited from Object.) | |
| Validate(String) | (Overrides PdfUnidimensionalBarcode..::..Validate(String).) |
Remarks
Only the following symbols are allowed in a Code 128C barcode: 0 1 2 3 4 5 6 7 8 9 FNC1 (\xF0). Code 128 C encodes only numeric symbols at double density, each pair of digits is encoded using a single symbol.
Inheritance Hierarchy
System..::..Object
Spire.Pdf.Barcode..::..PdfBarcode
Spire.Pdf.Barcode..::..PdfUnidimensionalBarcode
Spire.Pdf.Barcode..::..PdfCode128CBarcode
Spire.Pdf.Barcode..::..PdfBarcode
Spire.Pdf.Barcode..::..PdfUnidimensionalBarcode
Spire.Pdf.Barcode..::..PdfCode128CBarcode