GroupDocsGists
10/24/2017 - 1:16 PM

Examples-CSharp-GroupDocs.Text.Examples.CSharp-ContentExtractor-ExtractingWithMarkdown.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);
extractor.DocumentFormatter = new MarkdownDocumentFormatter();
Console.WriteLine(extractor.ExtractAll());