BaseExtractor ClassByteScout PDF To HTML SDK
Defines a base class for PDF extractors.
Inheritance Hierarchy


Namespace:  Bytescout.PDF2HTML
Assembly:  Bytescout.PDF2HTML (in Bytescout.PDF2HTML.dll) Version:

public abstract class BaseExtractor : IDisposable

The BaseExtractor type exposes the following members.


Protected methodBaseExtractor
Default constructor.
Protected methodBaseExtractor(String, String)
Initializes a new instance of the extractor class.

Public propertyCheckPermissions
Defines whether respect permissions set by document owner. If True, extractor throws exception when the extraction is prohibited.
Public propertyPassword
PDF document owner password.
Public propertyRegistrationKey
Registration key.
Public propertyRegistrationName
Registration name.
Public propertyVersion
Gets the component version number.

Public methodDispose
Releases the unmanaged resources used by the instance and optionally releases the managed resources.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodFireParsingError
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetPageCount
Returns document page count.
Public methodGetPageRect_Height
Gets the specified page height.
Public methodGetPageRect_Left
Gets the specified page left coordinate.
Public methodGetPageRect_Top
Gets the specified page top coordinate.
Public methodGetPageRect_Width
Gets the specified page width.
Public methodGetPageRectangle
Gets the page rectangle.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoadDocumentFromFile
Loads document from file. Supported formats: PDF, PNG, JPEG, BMP and TIFF (single-page). Call .Reset() method before loading another file into the same instance so it will release the lock for the file.
Public methodLoadDocumentFromStream
Loads document from stream. Supported formats: PDF, PNG, JPEG, BMP and TIFF (single-page).
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReset
Resets the instance, disposes internal resources and releases the file. Use this method before loading another PDF file.
Public methodResetExtractionArea
Resets the extraction area to full page.
Public methodSetExtractionArea(RectangleF)
Sets the extraction area by rectangle.
Public methodSetExtractionArea(Single, Single, Single, Single)
Sets the extraction area by coordinates and dimensions.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Public eventParsingError
Raised on PDF document parsing errors. This usually indicates a damaged document.
Public eventPasswordRequired
Occurs when the password required to decrypt the document.
See Also