Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

HTML
<script src="https://gist.github.com/GroupDocsGists/c7ee0f8eba5e5fb668b15dfdb6e87512.js?file=SpreadsheetDocuments-extractTextAreaFromSpreadsheetDocument_18.9.java"></script>

IDocumentContentExtractor Interface

Info

This feature is supported by version 18.11 or greater.

This feature allows getting the access to Text Analysis API via IDocumentContentExtractor interface. The support for IDocumentContentExtractor interface is added to the following classes:

  • PdfTextExtractor class
  • CellsTextExtractor class
  • SlidesTextExtractor class
  • WordsTextExtractor class

IDocumentContentExtractor interface has following property which gets the access to the document's content.

Code Block
languagecsharp
DocumentContent DocumentContent { get; }

The following code sample shows how to get text areas using IDocumentContentExtractor.

HTML
<script src="https://gist.github.com/GroupDocsGists/ea14da20df6908943201c73d872c85c9.js?file=ExtractTextFromDocumentUsingIDocumentContentExtractor_caller_18.11.cs"></script>