// For complete examples and data files, please go to https://github.com/groupdocs-text/GroupDocs.Text-for-.NET
//get file actual path
String filePath = Common.getFilePath(fileName);
WordsFormattedTextExtractor extractor = new WordsFormattedTextExtractor(filePath);
PlainTableFrame frame = new PlainTableFrame(
PlainTableFrameAngle.ASCII,
PlainTableFrameEdge.ASCII,
PlainTableFrameIntersection.ASCII,
new PlainTableFrameConfig(true, true, true, false));
extractor.DocumentFormatter = new PlainDocumentFormatter(frame);
Console.WriteLine(extractor.ExtractAll());