StackedGS1DataBar
Represents a StackedGS1DataBar barcode.
public class StackedGS1DataBar : Barcode
Public Class StackedGS1DataBar
Inherits Barcode
Inheritance: ObjectBarcodeStackedGS1DataBar
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 place a GS1DataBar Stacked Omnidirectional barcode on the page.Imports System
Imports ceTe.DynamicBarcode.Creator
Module MyModule
Sub Main()
' Create a barcode object.
Dim barcode As StackedGS1DataBar = New StackedGS1DataBar("(01)9889876543210", 50, StackedGS1DataBarType.StackedOmnidirectional)
' 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.
StackedGS1DataBar barcode = new StackedGS1DataBar("(01)9889876543210", 50, StackedGS1DataBarType.StackedOmnidirectional);
// Draw barcode image.
barcode.Draw(@"C:\barcode.png", 300, ImageFormat.Png);
}
}
Remarks
This class can be used to place a StackedGS1DataBar barcode on a page.
Constructors
StackedGS1DataBar(String, Single, StackedGS1DataBarType) | Initializes a new instance of the stacked GS1 databar 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) |
ExpandedStackedSegmentCount | Gets or Sets the segment count of the Expanded Stacked barcode. |
FontSize | Font size in points. |
RowCount | Gets the row count. |
RowHeight | Gets or Sets the row height of the Barcode. |
ShowText | Gets or Sets a boolean indicating whether the text to be displayed. |
TextAlign | Gets or sets the alignment to use when displaying the text. |
TextColor | Gets or set the color of the text. |
Unit | Gets or sets the unit of the barcode. (Inherited from Barcode) |
Value | Gets or Sets the value. |
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) |