ExtractorExtract |
Extract text from a PDF document
public void ExtractText( Document inDoc, Stream outStream, TextOptions options = null, int? firstPage = null, int? lastPage = null )
Optional parameter denoting the index of the first page to be copied. This index is one-based. If set, the number must be in the range of 1 (first page) to PageCount (last page).
If not set, 1 is used.
Optional parameter denoting the index of the last page to be copied. This index is one-based. If set, the number must be in the range of 1 (first page) to PageCount (last page).
If not set, PageCount is used.
| Exception | Condition |
|---|---|
| LicenseException | The license check has failed. |
| ProcessingException | The processing has failed. |
| IOException | Writing to the output text file has failed. |
| GenericException | A generic error occurred. |
| ArgumentException | The firstPage or lastPage are not in the allowed range. |
| ArgumentNullException | if inDoc is . |
| ArgumentNullException | if outStream is . |