Skip to content

PdfContentExtractor Class

Definition

Namespace: Xfinium.Pdf.Content

Defines an extractor for various type of content from Pdf pages.

C#
public class PdfContentExtractor : Object

Inheritance: Object → PdfContentExtractor

Constructor

Name Description
PdfContentExtractor(PdfPage) Initializes a new PdfContentExtractor object.

Properties

Name Description
Encodings Gets the list of additional encodings used for extracting text from Pdf files.

Methods

Name Description
ExtractColorSpaces Extracts the colorspaces that exist in the page resources.
ExtractContentStreamOperators Extracts the page content stream as a list of graphic operators with their operands.
ExtractImages Extracts the information related to the images displayed on the page.
ExtractOptionalContentGroup Extracts the content of an optional content group.
ExtractText Extracts the text from the Pdf page.
ExtractTextFragments Extracts the text fragments from the Pdf page.
ExtractTextLines Extracts the text from the PDF page as a collection of PdfTextLine objects.
ExtractVisualObjects Extracts the page content as a list of visual objects.
ExtractWords Extracts the text from the PDF page as a collection of words.
SearchText Searches the page content for the specified text.