ParserFeatures Property |
Namespace: GroupDocs.Parser
If the feature isn't supported, the method returns null instead of the value. Some operations may consume significant time. So it's not optimal to call the method to just check the support for the feature. For this purpose Features property is used:
using(Parser parser = new Parser("doc.zip")) { if(!parser.Features.Text) { Console.WriteLine("Text extraction isn't supported"); return; } using(TextReader reader = parser.GetText()) { Console.WriteLine(reader.ReadToEnd()); } }