PdfPageInfo Class

Information on a PDF page that failed content extraction.

Definition

Namespace: OpenDiscoverSDK.Interfaces.Content
Assembly: OpenDiscoverSDK.Interfaces (in OpenDiscoverSDK.Interfaces.dll) Version: 2026.2.6.0 (2026.02.06)
C#
[DataContractAttribute]
public class PdfPageInfo
Inheritance
Object    PdfPageInfo

Remarks

The information contained in PdfPageInfo can help a developer to decide whether or not to OCR a failed page. For example, if page failed due to PageExtractedTextCriteria criteria (i.e., FailedDueToException is false) and there are one of more images on the page, then this page may be a candidate for OCR.

Constructors

Properties

ContentLength Length of page's content, in bytes.
ExceptionMessage The PDF page exception message (if any).
FailedDueToException If true, the PDF page failed due to an exception while processing; false means the PDF page failed due to the PageExtractedTextCriteria criteria.
HasImages True, if the PDF page has images; false otherwise.
ImageCount Number of images on the PDF page.
NumTextCharsExtracted The number of text characters extracted for the failed PDF page.
PageNumber PDF page number.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also