←Select platform

GetBarcodeDataType Method

Summary

Gets the Type of the data class associated with a specified symbology.

Syntax

C#
VB
Java
Objective-C
C++
public static Type GetBarcodeDataType(  
   Leadtools.Barcode.BarcodeSymbology symbology 
) 
Public Shared Function GetBarcodeDataType( _ 
   ByVal symbology As Leadtools.Barcode.BarcodeSymbology _ 
) As Type 
+ (Class)barcodeDataTypeForSymbology:(LTBarcodeSymbology)symbology 
public static java.lang.Class getBarcodeDataType(BarcodeSymbology symbology) 
public: 
static Type^ GetBarcodeDataType(  
   Leadtools.Barcode.BarcodeSymbology symbology 
)  

Parameters

symbology
Barcode symbology.

Return Value

A Type of the derived class associated with a specified symbology or the BarcodeData type when the symbology does not have a specialized data class.

Remarks

Currently, this method returns the following values:

Symbology Return type
BarcodeSymbology.Datamatrix

Type of DatamatrixBarcodeData

BarcodeSymbology.PDF417

Type of PDF417BarcodeData

BarcodeSymbology.MicroPDF417

Type of MicroPDF417BarcodeData

BarcodeSymbology.QR

Type of QRBarcodeData

All other BarcodeSymbology members

Type of BarcodeData

Example

For an example, refer to CreateDefaultBarcodeData.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Barcode Assembly
Click or drag to resize