Features
Leave feedback
On this page
Gets the supported features.
public Features Features { get; }
An instance of Features class that represents the supported features.
Learn more:
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());
}
}
- class Features
- class Parser
- namespace GroupDocs.Parser
- assembly GroupDocs.Parser
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.