Class PdfContents
PDF input target options; determines what to OCR from within the PDF
Inheritance
System.Object
PdfContents
Namespace: IronOcr
Assembly: IronOcr.dll
Syntax
public sealed class PdfContents : Enum
Fields
OnlyImages
Only OCR images contained within the PDF. This is the best option for generating a searchable PDF.
Declaration
public const PdfContents OnlyImages
Field Value
Type | Description |
---|---|
PdfContents |
Remarks
This option preserves bookmarks, annotations, etc.
TextAndImages
Rasterize the entire PDF and OCR the resulting image. This is the best option for retrieving ALL text from a PDF.
Declaration
public const PdfContents TextAndImages
Field Value
Type | Description |
---|---|
PdfContents |
Remarks
This option creates a new PDF using the extracted text
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |