Skip to main content

Dim2Barcode

Version: 10.0

cete.dynamicpdf.pageelements.barcoding.dim2barcode

Dim2Barcode​

The base class for 2 dimentional barcodes (Pdf417, MacroPdf417, DataMatrixBarcode and QrCode).

public abstract class Dim2Barcode : TaggablePageElement, ICoordinate, ISerializable
Public MustInherit Class Dim2Barcode
Inherits TaggablePageElement
Implements ICoordinate, ISerializable

Inheritance: Object → PageElement → TaggablePageElement → Dim2Barcode

Implements: ICoordinate, ISerializable

Derived: Aztec, DataMatrixBarcode, MacroPdf417, Pdf417, QrCode

Licensing​

This class is a DynamicPDF Generator Enterprise Edition feature. One of the following licenses is required for non-evaluation usage:

  • DynamicPDF Generator for .NET Enterprise Edition
  • DynamicPDF Merger for .NET Enterprise Edition
  • DynamicPDF ReportWriter for .NET Enterprise Edition
  • DynamicPDF Core Suite for .NET Enterprise Edition

Properties​

Angle​

Gets or sets the angle of the barcode.

public float Angle { get; set; }
Public Property Angle As Single

Property Value​

Single

Color​

Gets or sets the Color for the barcode.

public Color Color { get; set; }
Public Property Color As Color

Property Value​

Color

ID​

Gets or sets the ID of the page element. (Inherited from PageElement)

public string ID { get; set; }
Public Property ID As String

Property Value​

String

PixelsPerXDimension​

Gets or Sets the pixels per XDimension

public int PixelsPerXDimension { get; set; }
Public Property PixelsPerXDimension As Int32

Property Value​

Int32

Tag​

Gets or sets the tag of the taggable element. (Inherited from TaggablePageElement)

public Tag Tag { get; set; }
Public Property Tag As Tag

Property Value​

Tag

Licensing​

This property is a DynamicPDF Generator Enterprise Edition feature. One of the following licenses is required for non-evaluation usage:

  • DynamicPDF Generator for .NET Enterprise Edition
  • DynamicPDF Merger for .NET Enterprise Edition
  • DynamicPDF ReportWriter for .NET Enterprise Edition
  • DynamicPDF Core Suite for .NET Enterprise Edition

TagOrder​

Gets or sets the tag order of the taggable element. (Inherited from TaggablePageElement)

public int TagOrder { get; set; }
Public Property TagOrder As Int32

Property Value​

Int32

X​

Gets or sets the X coordinate of the barcode.

public float X { get; set; }
Public Property X As Single

Property Value​

Single

XDimension​

Gets or sets the xDimension of the barcode.

public float XDimension { get; set; }
Public Property XDimension As Single

Property Value​

Single

XDimensionMilliMeters​

Gets or sets the XDimensionMilliMeters of the barcode.

public float XDimensionMilliMeters { get; set; }
Public Property XDimensionMilliMeters As Single

Property Value​

Single

XDimensionMils​

Gets or sets the XDimensionMils of the barcode.

public float XDimensionMils { get; set; }
Public Property XDimensionMils As Single

Property Value​

Single

XDimensionsPerCentiMeter​

Gets or sets the XDimensionsPerCentiMeter of the barcode.

public float XDimensionsPerCentiMeter { get; set; }
Public Property XDimensionsPerCentiMeter As Single

Property Value​

Single

XDimensionsPerInch​

Gets or sets the XDimensionsPerInch of the barcode.

public float XDimensionsPerInch { get; set; }
Public Property XDimensionsPerInch As Single

Property Value​

Single

Y​

Gets or sets the Y coordinate of the barcode.

public float Y { get; set; }
Public Property Y As Single

Property Value​

Single

Methods​

Draw(PageWriter)​

Draws the PDF417 barcode to the given PageWriter class.

public abstract void Draw(PageWriter writer)
MustOverride Sub Draw(writer As PageWriter)

Parameters​

PageWriter class to receive the PDF417 barcode's output.

Equals(Object)​

Determines whether the specified Object is equal to the current Object . (Inherited from Object)

public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean

Parameters​

The Object to compare with the current Object .

Returns​

true if the specified Object is equal to the current Object ; otherwise, false.

GetHashCode()​

Serves as a hash function for a particular type. (Inherited from Object)

public int GetHashCode()
Function GetHashCode() As Integer

Returns​

A hash code for the current Object .

GetSymbolHeight()​

Returns the height required to display the full barcode.

public abstract float GetSymbolHeight()
MustOverride Function GetSymbolHeight() As Single

Returns​

A value representing the required height.

GetSymbolWidth()​

Returns the width required to display the full barcode.

public abstract float GetSymbolWidth()
MustOverride Function GetSymbolWidth() As Single

Returns​

A value representing the required width.

GetType()​

Gets the Type of the current instance. (Inherited from Object)

public Type GetType()
Function GetType() As Type

Returns​

The Type instance that represents the exact runtime type of the current instance.

ToString()​

Returns a String that represents the current Object . (Inherited from Object)

public string ToString()
Function ToString() As String

Returns​

A String that represents the current Object .

See Also​

ceTe.DynamicPDF.PageElements.BarCoding