public static Type GetBarcodeWriteOptionsType(
BarcodeSymbology symbology
)
Public Shared Function GetBarcodeWriteOptionsType( _
ByVal symbology As BarcodeSymbology _
) As Type
+ (Class)barcodeWriteOptionsTypeForSymbology:(LTBarcodeSymbology)symbology
public static java.lang.Class<?> getBarcodeWriteOptionsType(BarcodeSymbology symbology)
public:
static Type^ GetBarcodeWriteOptionsType(
BarcodeSymbology symbology
)
symbology
A BarcodeSymbology enumeration member that specifies the symbology.
The Type of the BarcodeWriteOptions derived class that is used by LEADTOOLS when writing barcode of the symbology (or type) specified in symbology.
In LEADTOOLS barcode write support, each BarcodeSymbology (or a group of BarcodeSymbology) is associated with a write options class that is a type derived from BarcodeWriteOptions (the remarks section of this class contains a table that lists all the symbologies and option classes). You can get the Type of the class associated with a certain symbology by using this GetBarcodeWriteOptionsType.
Note that some options classes are shared by more than one symbology, for example, BarcodeSymbology.UPCA and BarcodeSymbology.UPCE both use OneDBarcodeWriteOptions. Hence, passing either of these symbologies to this method will return the same type.
BarcodeSymbology.Unknown is a special type that is used to instruct the engine to read all barcodes. It does not have an associated write options class and should not be used in this method, otherwise, an exception will be thrown.
This example will show how to use GetBarcodeWriteOptionsType.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document