public static void Run()
        {
            // ExStart:RecognizeMultipleSymbologies
            try
            {
                // The path to the documents directory.
                string           dataDir  = RunExamples.GetDataDir_ManageAndOptimizeBarcodeRecognition();
                BaseDecodeType[] objArray = new BaseDecodeType[] { DecodeType.Code39Standard, DecodeType.Pdf417 };

                // Initialize the BarCodeReader, Call Read() method in a loop and  Display the codetext and symbology type
                using (BarCodeReader reader = new BarCodeReader(dataDir + "RecognizingMultipleSymbologies.png", objArray))
                {
                    foreach (BarCodeResult result in reader.ReadBarCodes())
                    {
                        Console.WriteLine("Codetext: " + result.CodeText);
                        Console.WriteLine("Symbology type: " + result.CodeType);
                    }
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message + "\nThis example will only work if you apply a valid Aspose BarCode License. You can purchase full license or get 30 day temporary license from http://wwww.aspose.com/purchase/default.aspx.");
            }
            // ExEnd:RecognizeMultipleSymbologies
        }
        public static void Run()
        {
            try
            {                 
                // The path to the documents directory.
                string dataDir = RunExamples.GetDataDir_ManageAndOptimizeBarcodeRecognition();
                BaseDecodeType[] objArray = new BaseDecodeType[] { DecodeType.Code39Standard, DecodeType.Pdf417 };

                // Initialize the BarCodeReader, Call Read() method in a loop and  Display the codetext and symbology type
                BarCodeReader reader = new BarCodeReader(dataDir + "RecognizingMultipleSymbologies.png",objArray);
                while (reader.Read())
                {
                    Console.WriteLine("Codetext: " + reader.GetCodeText());
                    Console.WriteLine("Symbology type: " + reader.GetCodeType());
                }
                reader.Close();
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message + "\nThis example will only work if you apply a valid Aspose BarCode License. You can purchase full license or get 30 day temporary license from http://wwww.aspose.com/purchase/default.aspx.");
            }
        }