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("......................................"); }
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(); }