Parser Class
Represents the main class that controls text, images, container extraction and parsing functionality.
Inheritance Hierarchy
SystemObject
  GroupDocs.ParserParser

Namespace: GroupDocs.Parser
Assembly: GroupDocs.Parser (in GroupDocs.Parser.dll) Version: 22.8.0
Syntax
public sealed class Parser : IDisposable

The Parser type exposes the following members.

Constructors
  NameDescription
Public methodCode exampleParser(DbConnection)
Initializes a new instance of the Parser class to extract data from a database.
Public methodCode exampleParser(Stream)
Initializes a new instance of the Parser class.
Public methodCode exampleParser(String)
Initializes a new instance of the Parser class.
Public methodCode exampleParser(EmailConnection)
Initializes a new instance of the Parser class to extract data from a remote email server.
Public methodCode exampleParser(DbConnection, ParserSettings)
Initializes a new instance of the Parser class to extract data from a database.
Public methodCode exampleParser(Stream, LoadOptions)
Initializes a new instance of the Parser class with LoadOptions.
Public methodCode exampleParser(String, LoadOptions)
Initializes a new instance of the Parser class with LoadOptions.
Public methodCode exampleParser(EmailConnection, ParserSettings)
Initializes a new instance of the Parser class to extract data from a remote email server.
Public methodCode exampleParser(Stream, LoadOptions, ParserSettings)
Initializes a new instance of the Parser class with LoadOptions and ParserSettings.
Public methodCode exampleParser(String, LoadOptions, ParserSettings)
Initializes a new instance of the Parser class with LoadOptions and ParserSettings.
Properties
  NameDescription
Public propertyCode exampleFeatures
Gets the supported features.
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEquals (Inherited from Object.)
Protected methodFinalize
Ensures that resources are freed and other cleanup operations are performed when the garbage collector reclaims the Parser.
(Overrides ObjectFinalize.)
Public methodGeneratePreview
Get pages preview.
Public methodCode exampleGetBarcodes
Extracts barcodes from the document.
Public methodCode exampleGetBarcodes(Int32)
Extracts barcodes from the document page.
Public methodCode exampleGetBarcodes(PageAreaOptions)
Extracts barcodes from the document using customization options (to set the rectangular area that contains barcodes).
Public methodGetBarcodes(Int32, PageAreaOptions)
Extracts barcodes from the document page using customization options (to set the rectangular area that contains barcodes).
Public methodCode exampleGetContainer
Extracts a container object from the document to work with formats that contain attachments, ZIP archives etc.
Public methodCode exampleGetDocumentInfo
Returns the general information about the document.
Public methodStatic memberCode exampleGetFileInfo(Stream)
Returns the general information about a file.
Public methodStatic memberCode exampleGetFileInfo(String)
Returns the general information about a file.
Public methodStatic memberCode exampleGetFileInfo(Stream, LoadOptions)
Returns the general information about a file.
Public methodStatic memberCode exampleGetFileInfo(String, LoadOptions)
Returns the general information about a file.
Public methodCode exampleGetFormattedText(FormattedTextOptions)
Extracts a formatted text from the document.
Public methodCode exampleGetFormattedText(Int32, FormattedTextOptions)
Extracts a formatted text from the document page.
Public methodGetHashCode (Inherited from Object.)
Public methodCode exampleGetHighlight
Extracts a highlight from the document.
Public methodCode exampleGetHyperlinks
Extracts hyperlinks from the document.
Public methodCode exampleGetHyperlinks(Int32)
Extracts hyperlinks from the document page.
Public methodCode exampleGetHyperlinks(PageAreaOptions)
Extracts hyperlinks from the document using customization options (to set the rectangular area that contains hyperlinks).
Public methodCode exampleGetHyperlinks(Int32, PageAreaOptions)
Extracts hyperlinks from the document page using customization options (to set the rectangular area that contains hyperlinks).
Public methodCode exampleGetImages
Extracts images from the document.
Public methodCode exampleGetImages(Int32)
Extracts images from the document page.
Public methodCode exampleGetImages(PageAreaOptions)
Extracts images from the document using customization options (to set the rectangular area that contains images).
Public methodGetImages(Int32, PageAreaOptions)
Extracts images from the document page using customization options (to set the rectangular area that contains images).
Public methodCode exampleGetMetadata
Extracts metadata from the document.
Public methodGetStructure
Extracts a structured text from the document.
Public methodCode exampleGetTables(PageTableAreaOptions)
Extracts tables from the document.
Public methodCode exampleGetTables(Int32, PageTableAreaOptions)
Extracts tables from the document page.
Public methodCode exampleGetText
Extracts a text from the document.
Public methodCode exampleGetText(Int32)
Extracts a text from the document page.
Public methodCode exampleGetText(TextOptions)
Extracts a text page from the document using text options (to enable raw fast text extraction mode).
Public methodCode exampleGetText(Int32, TextOptions)
Extracts a text from the document page using text options (to enable raw fast text extraction mode).
Public methodCode exampleGetTextAreas
Extracts text areas from the document.
Public methodCode exampleGetTextAreas(Int32)
Extracts text areas from the document page.
Public methodCode exampleGetTextAreas(PageTextAreaOptions)
Extracts text areas from the document using customization options (regular expression, match case, etc.).
Public methodGetTextAreas(Int32, PageTextAreaOptions)
Extracts text areas from the document page using customization options (regular expression, match case, etc.).
Public methodCode exampleGetToc
Extracts a table of contents from the document.
Public methodGetType (Inherited from Object.)
Public methodParseByTemplate
Parses the document by the user-generated template.
Public methodCode exampleParseForm
Parses the document form.
Public methodCode exampleSearch(String)
Searches a keyword in the document.
Public methodCode exampleSearch(String, SearchOptions)
Searches a keyword in the document using search options (regular expression, match case, etc.).
Public methodToString (Inherited from Object.)
See Also