UpcASupplement2
Represents a UPC version A, 2 digit supplement barcode.
public class UpcASupplement2 : UpcA
Public Class UpcASupplement2
Inherits UpcA
Inheritance: ObjectBarcodeUpcBaseUpcAUpcASupplement2
Licensing Info
This class is a DynamicBarcode Creator feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicBarcode Creator selected.
- A DynamicBarcode Creator for .NET v2.X Developer license.
Examples
The following example will Draw a UPC version A, 2 digit supplement barcode image.Imports System
Imports ceTe.DynamicBarcode.Creator
Module MyModule
Sub Main()
'Create a barcode object.
Dim barcode As UpcASupplement2 = New UpcASupplement2("12345678901","12")
'Draw barcode image.
barcode.Draw("C:\barcode.png", 300, ImageFormat.Png)
End Sub
End Module
using System;
using ceTe.DynamicBarcode.Creator;
class MyClass
{
static void Main()
{
// Create a barcode object.
UpcASupplement2 barcode = new UpcASupplement2("12345678901","12");
// Draw barcode image.
barcode.Draw(@"C:\barcode.png", 300, ImageFormat.Png);
}
}
Remarks
This class can be used to draw a UPC version A, 2 digit supplement barcode image.
Constructors
UpcASupplement2(String) | Initializes instance of the UpcASupplement2 class. |
UpcASupplement2(String, String) | Initializes instance of the UpcASupplement2 class. |
Properties
BackColor | Gets or sets the background color of the barcode. (Inherited from Barcode) |
BarcodeMargin | Gets or Sets the margins of the barcode. (Inherited from Barcode) |
BarColor | Gets or sets the bar color of the barcode. (Inherited from Barcode) |
SupplementValue | Gets or sets the supplement value of the barcode. |
SymbolHeight | Get or set symbol height of the barcode. (Inherited from UpcBase) |
Unit | Gets or sets the unit of the barcode. (Inherited from Barcode) |
Value | Get or set value of the barcode. (Inherited from UpcBase) |
XDimension | Gets or sets the XDimension of the barcode. (Inherited from Barcode) |
Methods
Draw(Single, ImageFormat) | Draw barcode image. (Inherited from Barcode) |
Draw(Single, Single, ImageFormat) | Draw barcode image. (Inherited from Barcode) |
Draw(String, Single, ImageFormat) | Draw barcode image. (Inherited from Barcode) |
Draw(String, Single, Single, ImageFormat) | Draw barcode image. (Inherited from Barcode) |
Equals(Object) | Determines whether the specified Object is equal to the current Object . (Inherited from Object) |
GetHashCode() | Serves as a hash function for a particular type. (Inherited from Object) |
GetRecommendedQuietZone(Single, Single) | Gets the recommanded quietzone of the barcode. (Inherited from Barcode) |
GetRequiredSize(Single, Single) | Returns the size required to display the full barcode. (Inherited from Barcode) |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
ToString() | Returns a String that represents the current Object . (Inherited from Object) |