Click or drag to resize

PdfBarcode Class

Represents a base class for all barcode types.
Inheritance Hierarchy
System Object
Spire.Pdf.Barcode PdfBarcode
Spire.Pdf.Barcode PdfUnidimensionalBarcode

Namespace: Spire.Pdf.Barcode
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public class PdfBarcode

The PdfBarcode type exposes the following members.

Constructors
Name Description
Public method PdfBarcode
Initializes a new instance of theclass.
Public method PdfBarcode(String)
Initializes a new instance of theclass.
Top
Properties
Name Description
Public property BackColor
Gets or sets the back color of the barcode.
Public property BarColor
Gets or sets the bar color of the barcode.
Public property BarHeight
Gets or sets the bar height.
Public property Bounds
Gets or sets the rectangular area occupied by the barcode.
Public property Location
Gets or sets the location to render barcode in the PDF Document.
Public property NarrowBarWidth
Gets or sets the narrow bar width.
Public property QuietZone
Gets or sets the empty area which is to be allocated around the barcode.
Public property Size
Gets the size of the barcode.
Public property Text
Gets or Sets the barcode text.
Public property TextColor
Gets or sets the text color of the barcode text.
Top
Methods
Name Description
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Protected method GetSize
Internal method which calculates the size of the barcode which is going to rendered.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Protected method Validate
Internal method which validates whether the given text is acceptable by the current barcode specification or not.
Top
Fields
Name Description
Protected field m_bounds
Indicates the region of the barcode.
Top
See Also