TextExtractionError

TextExtractionError

Overview

TextExtractionError is a class in Aspose.PDF FOSS for .NET.

Diagnostic produced by TextFragmentAbsorber when a page-level extraction fails or partially succeeds.

This class provides 1 method for working with TextExtractionError objects in .NET programs. Available methods include: ToString. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: Description, ExtractedText, FontKey, FontName, Location, Message, and 2 more.

Properties

NameTypeAccessDescription
PageIndexintRead1-based page number where the error occurred.
MessagestringReadHuman-readable error message.
DescriptionstringReadLonger-form description of the error (companion to Message).
ExtractedTextstringReadRaw text that was extracted before the failure (best-effort).
FontKeystringReadResource-dict font key (e.g.
FontNamestringReadHuman-readable font name reported by the failed font lookup.
SummarystringReadOne-line summary suitable for logs.
LocationTextExtractionErrorLocationReadWhere in the content stream the error originated.

Methods

SignatureDescription
ToString()Calls ToString on this TextExtractionError instance.

See Also