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: 19.9
Syntax
public sealed class Parser : IDisposable

The Parser type exposes the following members.

Constructors
  NameDescription
Public methodParser(Stream)
Initializes a new instance of the Parser class.
Public methodParser(String)
Initializes a new instance of the Parser class.
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 methodParser(Stream, LoadOptions, ParserSettings)
Initializes a new instance of the Parser class with LoadOptions and ParserSettings.
Public methodParser(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
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGeneratePreview
Get pages preview.
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 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
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodCode exampleGetHighlight
Extracts a highlight from the document.
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 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
Gets the type of the current instance.
(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
Returns a string that represents the current object.
(Inherited from Object.)
See Also