Initializes a new instance of the BarcodeData class with specified symbology and ASCII text value.
public BarcodeData(
BarcodeSymbology symbology,
string value
)
Public Function New( _
ByVal symbology As Leadtools.Barcode.BarcodeSymbology, _
ByVal value As String _
)
public BarcodeData(
Leadtools.Barcode.BarcodeSymbology symbology,
string value
)
function BarcodeData(
symbology ,
value
)
public:
BarcodeData(
Leadtools.Barcode.BarcodeSymbology symbology,
String^ value
)
symbology
Barcode symbology to use.
value
A String that specifies the ASCII text representation of the barcode data.
This constructor initializes the BarcodeData member as follows:
s
Member | Value |
---|---|
Symbology | symbology |
Bounds | LogicalRectangle.Empty |
RotationAngle | 0 |
BarWidthReduction | 0 |
Byte array inside GetData | The raw value of the bytes array in value. if this parameter is null, then the data is null too. |
Value | value. |
Tag | null (Nothing in Visual Basic) |
To quickly construct a new BarcodeData object with a specific symbology and data as a raw byte array, use BarcodeData(BarcodeSymbology symbology, byte[] data) to construct a default BarcodeData, use BarcodeData().
To create an instance of BarcodeData suitable for writing for a specified symbology, use CreateDefaultBarcodeData.
This example creates a BarcodeData with specified symbology and ASCII text. It then writes it to an image.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET