Esempio n. 1
0
        static void Main(string[] args)
        {
            Console.WriteLine("......................................");

            Console.WriteLine("Document Reader ---  PDF doc");
            DocumentReader pdfReader = new PdfDocument();

            pdfReader.OpenDocument();

            Console.WriteLine("Document Reader ---  RTF doc");
            DocumentReader rtfReader = new RtfDocument();

            rtfReader.OpenDocument();
            Console.WriteLine("......................................");
        }
Esempio n. 2
0
        public static void Main(string[] args)
        {
            Console.WriteLine("Process PDF");
            Console.WriteLine("------------------");
            DocumentReader reader = new PdfDocument();

            reader.OpenDocument();


            Console.WriteLine("\nProcess RTF");
            Console.WriteLine("------------------");
            reader = new RtfDocument();
            reader.OpenDocument();


            Console.ReadKey();
        }