Gets the type of the barcode write options class associated with a symbology.
public static Type GetBarcodeWriteOptionsType(
Leadtools.Barcode.BarcodeSymbology symbology
)
Public Shared Function GetBarcodeWriteOptionsType( _
ByVal symbology As Leadtools.Barcode.BarcodeSymbology _
) As Type
public static Windows.UI.Xaml.Interop.TypeName GetBarcodeWriteOptionsType(
Leadtools.Barcode.BarcodeSymbology symbology
)
+ (Class)barcodeWriteOptionsTypeForSymbology:(LTBarcodeSymbology)symbology
public static java.lang.Class<?> getBarcodeWriteOptionsType(BarcodeSymbology symbology)
function Leadtools.Barcode.BarcodeWriter.GetBarcodeWriteOptionsType(
symbology
)
public:
static Type^ GetBarcodeWriteOptionsType(
Leadtools.Barcode.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.
![]() |
Products |
Support |
Feedback: GetBarcodeWriteOptionsType Method - Leadtools.Barcode |
Introduction |
Help Version 19.0.2017.6.21
|
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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.