Gets a list of all the barcode symbologies (types) supported by LEADTOOLS.
public static [Leadtools.Barcode.BarcodeSymbology[]](barcodesymbology.html) GetSupportedSymbologies() Public Shared Function GetSupportedSymbologies() As Leadtools.Barcode.BarcodeSymbology() public static [Leadtools.Barcode.BarcodeSymbology[]](barcodesymbology.html) GetSupportedSymbologies() + (NSArray<NSNumber *> *)supportedSymbologies public static BarcodeSymbology[] getSupportedSymbologies() function Leadtools.Barcode.BarcodeEngine.GetSupportedSymbologies() public:static Leadtools.Barcode.array<BarcodeSymbology>^ GetSupportedSymbologies();
An array of BarcodeSymbology enumeration members that lists all the barcode symbologies (types) supported by LEADTOOLS.
The GetSupportedSymbologies returns all the barcode symbologies (types) supported by LEADTOOLS. Depending on the level of unlocked support and availability of the back-end barcodes assemblies, not all of the supported types may be available. For example, if the Leadtools.Barcode.QrRead.dll assembly is missing, QR read support will not be available to your application. Similarly, if the Leadtools.Barcode.QrWrite.dll assembly is missing, QR write support will not be available.
To get a list of the barcode symbologies available for reading, use BarcodeReader.GetAvailableSymbologies and to get a list of the barcode symbologies available for writing, use BarcodeWriter.GetAvailableSymbologies.
To get the friendly name of any barcode symbology, use BarcodeEngine.GetSymbologyFriendlyName.
This example lists all the barcode symbologies supported by LEADTOOLS. Then, it will list all the symbologies currently available (if correct support is unlocked and back-end runtime assembly is found) for reading and writing.
using Leadtools;using Leadtools.Codecs;using Leadtools.Forms;using Leadtools.Barcode;using Leadtools.ImageProcessing;public void BarcodeEngine_SupportedAndAvailableSymbologiesExample(){// Show all the supported symbologiesBarcodeSymbology[] supportedSymbologies = BarcodeEngine.GetSupportedSymbologies();Console.WriteLine("{0} Supported symbologies:", supportedSymbologies.Length);foreach (BarcodeSymbology symbology in supportedSymbologies){Console.WriteLine("{0}: {1}", symbology, BarcodeEngine.GetSymbologyFriendlyName(symbology));}Console.WriteLine("----------");// Create a Barcode engine to get the available read and write symbologiesBarcodeEngine engine = new BarcodeEngine();BarcodeSymbology[] readSymbologies = engine.Reader.GetAvailableSymbologies();Console.WriteLine("{0} Avaliable read symbologies:", readSymbologies.Length);foreach (BarcodeSymbology symbology in readSymbologies){Console.WriteLine(symbology);}Console.WriteLine("----------");BarcodeSymbology[] writeSymbologies = engine.Writer.GetAvailableSymbologies();Console.WriteLine("{0} Avaliable write symbologies:", writeSymbologies.Length);foreach (BarcodeSymbology symbology in writeSymbologies){Console.WriteLine(symbology);}}
Imports LeadtoolsImports Leadtools.CodecsImports Leadtools.FormsImports Leadtools.BarcodeImports Leadtools.ImageProcessingPublic Sub BarcodeEngine_SupportedAndAvailableSymbologiesExample()' Show all the supported symbologiesDim supportedSymbologies() As BarcodeSymbology = BarcodeEngine.GetSupportedSymbologies()Console.WriteLine("{0} Supported symbologies:", supportedSymbologies.Length)For Each symbology As BarcodeSymbology In supportedSymbologiesConsole.WriteLine("{0}: {1}", symbology, BarcodeEngine.GetSymbologyFriendlyName(symbology))NextConsole.WriteLine("----------")' Create a Barcode engine to get the available read and write symbologiesDim engine As New BarcodeEngine()Dim readSymbologies() As BarcodeSymbology = engine.Reader.GetAvailableSymbologies()Console.WriteLine("{0} Avaliable read symbologies:", readSymbologies.Length)For Each symbology As BarcodeSymbology In readSymbologiesConsole.WriteLine(symbology)NextConsole.WriteLine("----------")Dim writeSymbologies() As BarcodeSymbology = engine.Writer.GetAvailableSymbologies()Console.WriteLine("{0} Avaliable write symbologies:", writeSymbologies.Length)For Each symbology As BarcodeSymbology In writeSymbologiesConsole.WriteLine(symbology)NextEnd Sub
using Leadtools;using Leadtools.Codecs;using Leadtools.Forms;using Leadtools.Barcode;using Leadtools.ImageProcessing;using Leadtools.Examples;public void BarcodeEngine_SupportedAndAvailableSymbologiesExample(){// Show all the supported symbologiesBarcodeSymbology[] supportedSymbologies = BarcodeEngine.GetSupportedSymbologies();Console.WriteLine("{0} Supported symbologies:", supportedSymbologies.Length);foreach (BarcodeSymbology symbology in supportedSymbologies){Console.WriteLine("{0}: {1}", symbology, BarcodeEngine.GetSymbologyFriendlyName(symbology));}Console.WriteLine("----------");// Create a Barcode engine to get the available read and write symbologiesBarcodeEngine engine = new BarcodeEngine();BarcodeSymbology[] readSymbologies = engine.Reader.GetAvailableSymbologies();Console.WriteLine("{0} available read symbologies:", readSymbologies.Length);foreach (BarcodeSymbology symbology in readSymbologies){Console.WriteLine(symbology);}Console.WriteLine("----------");BarcodeSymbology[] writeSymbologies = engine.Writer.GetAvailableSymbologies();Console.WriteLine("{0} available write symbologies:", writeSymbologies.Length);foreach (BarcodeSymbology symbology in writeSymbologies){Console.WriteLine(symbology);}}
Imports LeadtoolsImports Leadtools.CodecsImports Leadtools.FormsImports Leadtools.BarcodeImports Leadtools.ImageProcessingPublic Sub BarcodeEngine_SupportedAndAvailableSymbologiesExample()' Show all the supported symbologiesDim supportedSymbologies As BarcodeSymbology() = BarcodeEngine.GetSupportedSymbologies()Console.WriteLine("{0} Supported symbologies:", supportedSymbologies.Length)For Each symbology As BarcodeSymbology In supportedSymbologiesConsole.WriteLine("{0}: {1}", symbology, BarcodeEngine.GetSymbologyFriendlyName(symbology))Next symbologyConsole.WriteLine("----------")' Create a Barcode engine to get the available read and write symbologiesDim engine As BarcodeEngine = New BarcodeEngine()Dim readSymbologies As BarcodeSymbology() = engine.Reader.GetAvailableSymbologies()Console.WriteLine("{0} available read symbologies:", readSymbologies.Length)For Each symbology As BarcodeSymbology In readSymbologiesConsole.WriteLine(symbology)Next symbologyConsole.WriteLine("----------")Dim writeSymbologies As BarcodeSymbology() = engine.Writer.GetAvailableSymbologies()Console.WriteLine("{0} available write symbologies:", writeSymbologies.Length)For Each symbology As BarcodeSymbology In writeSymbologiesConsole.WriteLine(symbology)Next symbologyEnd Sub
Files To Be Included In Your application.
BarcodeReader.GetAvailableSymbologies
|
Products |
Support |
Feedback: GetSupportedSymbologies Method (BarcodeEngine) - 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.