GroupDocsGists
10/24/2017 - 1:17 PM

Examples-CSharp-GroupDocs.Text.Examples.CSharp-ContentExtractor-ExtractEntireWordPage.cs

// 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());