Skip to main content

IsbnSup5

Version: 10.0

cete.dynamicpdf.pageelements.barcoding.isbnsup5

IsbnSup5​

Represents an ISBN, 5 digit supplement barcode.

public class IsbnSup5 : Isbn, ICoordinate, ISerializable
Public Class IsbnSup5
Inherits Isbn
Implements ICoordinate, ISerializable

Inheritance: Object → PageElement → TaggablePageElement → RotatingPageElement → BarCode → UpcBase → Isbn → IsbnSup5

Implements: ICoordinate, ISerializable

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

Examples​

The following example will place an ISBN, 5 digit supplement barcode on the page.

Imports System
Imports ceTe.DynamicPDF
Imports ceTe.DynamicPDF.PageElements.BarCoding

Module MyModule

Sub Main()

' Create a PDF Document
Dim MyDocument As Document = New Document

' Create a Page and add it to the document
Dim MyPage As Page = New Page
MyDocument.Pages.Add(MyPage)

' Create a barcode
Dim barCode As IsbnSup5 = New IsbnSup5("978-1-23-456789-7", "12345", 50, 50)

' Add the barcode to the page
MyPage.Elements.Add(barCode)

' Save the PDF
MyDocument.Draw("C:\MyDocument.pdf")

End Sub
End Module
using System;
using ceTe.DynamicPDF;
using ceTe.DynamicPDF.PageElements.BarCoding;

public class Example
{
public static void CreatePDF(string outputPath)
{
// Create a PDF Document
Document document = new Document();

// Create a Page and add it to the document
Page page = new Page();
document.Pages.Add( page );

// Create a barcode
IsbnSup5 barCode = new IsbnSup5("978-1-23-456789-7", "12345", 50, 50);

// Add the barcode to the page
page.Elements.Add( barCode );

// Save the PDF
document.Draw(outputPath);
}
}

Remarks​

This class can be used to place an ISBN, 5 digit supplement barcode on a page.

Constructors​

IsbnSup5(String, String, Single, Single)​

Initializes a new instance of the IsbnSup5 class.

public IsbnSup5(string value, string supplementalValue, float x, float y)
Public Sub New (value As String, supplementalValue As String, x As Single, y As Single)

Parameters​

The value of the barcode.

The supplemental value of the barcode.

The X coordinate of the barcode.

The Y coordinate of the barcode.

IsbnSup5(String, String, Single, Single, Single)​

Initializes a new instance of the IsbnSup5 class.

public IsbnSup5(string value, string supplementalValue, float x, float y, float scale)
Public Sub New (value As String, supplementalValue As String, x As Single, y As Single, scale As Single)

Parameters​

The value of the barcode.

The X coordinate of the barcode.

The Y coordinate of the barcode.

The scale of the barcode.

Properties​

Angle​

Gets or sets the heights of the angle element. (Inherited from RotatingPageElement)

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

Property Value​

Single

Color​

Gets or sets the Color of the barcode. (Inherited from BarCode)

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

Property Value​

Color

Height​

Gets or sets the heights of the page element. (Inherited from RotatingPageElement)

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

Property Value​

Single

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 (Inherited from BarCode)

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

Property Value​

Int32

ShowText​

Gets or sets a value indicating if the ISBN value should be placed as text above the barcode. (Inherited from Isbn)

public bool ShowText { get; set; }
Public Property ShowText As Boolean

Property Value​

Boolean

SupplementalValue​

Gets or sets the supplemental value of the barcode.

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

Property Value​

String

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

Value​

Gets or sets the value of the barcode. (Inherited from BarCode)

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

Property Value​

String

X​

Gets or sets the X coordinate of the page element. (Inherited from RotatingPageElement)

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

Property Value​

Single

XDimension​

Gets or sets the XDimension of the barcode. (Inherited from BarCode)

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

Property Value​

Single

XDimensionMilliMeters​

Gets or sets the XDimensionMilliMeters of the barcode. (Inherited from BarCode)

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

Property Value​

Single

XDimensionMils​

Gets or sets the XDimensionMils of the barcode. (Inherited from BarCode)

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

Property Value​

Single

XDimensionsPerCentiMeter​

Gets or sets the XDimensionsPerCentiMeter of the barcode. (Inherited from BarCode)

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

Property Value​

Single

XDimensionsPerInch​

Gets or sets the XDimensionsPerInch of the barcode. (Inherited from BarCode)

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

Property Value​

Single

Y​

Gets or sets the Y coordinate of the page element. (Inherited from RotatingPageElement)

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

Property Value​

Single

Methods​

Draw(PageWriter)​

Draws the page element to the given PageWriter object. (Inherited from RotatingPageElement)

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

Parameters​

PageWriter object to receive the page element'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 .

GetSymbolWidth()​

Returns the width required to display the full barcode.

public float GetSymbolWidth()
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.

SetScale(Single)​

Sets the scale of the barcode. (Inherited from UpcBase)

public void SetScale(float scale)
Sub SetScale(scale As Single)

Parameters​

The scale to set.

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