←Select platform

GetBarcodeDataType Method

Summary
Gets the Type of the data class associated with a specified symbology.
Syntax
C#
VB
Objective-C
C++
Java
public static Type GetBarcodeDataType( 
   BarcodeSymbology symbology 
) 
Public Shared Function GetBarcodeDataType( _ 
   ByVal symbology As BarcodeSymbology _ 
) As Type 
+ (Class)barcodeDataTypeForSymbology:(LTBarcodeSymbology)symbology 
public static java.lang.Class getBarcodeDataType(BarcodeSymbology symbology) 
public: 
static Type^ GetBarcodeDataType(  
   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

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.