Link Search Menu Expand Document

Remover Class

Utility class to remove objects from PDF document.
Inheritance Hierarchy
SystemObject
Bytescout.PDFExtractorRemover

Namespace:Bytescout.PDFExtractor
Assembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
public class Remover : IBaseExtractor, IDisposable, 
	IRemover

The Remover type exposes the following members.

Constructors
NameDescription
Public methodRemover
Initializes a new instance of the Remover class.
Public methodRemover(String, String)
Initializes a new instance of the Remover class.
Top
Properties
NameDescription
Public propertyCheckPermissions
Defines whether to respect permissions set by document owner. If True, extractor throws exception when the extraction is prohibited. IMPORTANT: THIS OPTION HAVE TO BE ENABLED AND SET TO "TRUE" TO RESPECT OWNERS OF PDF DOCUMENTS. IF YOU SET IT TO FALSE TO IGNORE PERMISSIONS WHICH ARE SET IN PDF DOCUMENT THEN YOU ARE SOLELY LIABLE FOR THIS ACTION AND ANY COPYRIGHT OR OTHER VIOLATIONS AT YOUR OWN RISK. BYTESCOUT IS NOT LIABLE FOR ANY DAMAGES, LOSSES, COPYRIGHT INFRINGEMENTS OR ANY OTHER CONSEQUENCES CAUSED BY IGNORING PERMISSIONS OF PDF DOCUMENT. BY CHANGING THIS OPTION YOU ARE CONFIRMING YOU ARE UNDERSTANDING ALL WRITTEN ABOVE AND DOING IT AT YOUR OWN RISK.
Public propertyContentType
Returns content type of PDF document: normal document, portfolio or XFA form. To extract files from PDF portfolio use AttachmentExtractor class. To extract XFA form content use XFAFormExtractor class.
Public propertyIsDocumentLoaded
Get the document loaded state.
Public propertyLicenseInfo
Gets license information.
Public propertyPassword
PDF document password.
Public propertyRegistrationKey
Registration key.
Public propertyRegistrationName
Registration name.
Public propertyVersion
Gets the component version number.
Top
Methods
NameDescription
Public methodDispose
Releases the unmanaged resources used by the instance and optionally releases the managed resources.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectRectangleFromPoint
Returns bounding rectangle of text object located at the specified point.
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(Int32)
Gets the page rectangle in PDF Points (1 Point = 1/72 in.).
Public methodGetPageRectangle(Int32, Boolean)
Gets the page rectangle in PDF Points (1 Point = 1/72 in.).
Public methodGetPageRotationAngle
Returns the rotation angle of specified page.
Public methodGetType (Inherited from Object.)
Public methodIsEncrypted
Gets the document encrypted state.
Public methodLoadDocumentFromFile
Loads PDF document from specified file.
Public methodLoadDocumentFromStream
Loads PDF document from provided stream.
Public methodLoadDocumentFromVariant
Loads PDF document from byte array presented as array of Variant or Byte objects ('Variant()' or 'Byte()'). This is COM/ActiveX-compatible version of the method LoadDocumentFromStream(Stream) for in-memory processing of PDF files.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemoveImage(Int32, PointF, Stream)
Removes raster image from specified point.
Public methodRemoveImage(Int32, PointF, String)
Removes raster image from specified point.
Public methodRemoveImage(Int32, Single, Single, String)
Removes raster image from specified point.
Public methodRemoveImages(Int32, RectangleF, Stream)
Removes raster images contained in specified rectangle.
Public methodRemoveImages(Int32, RectangleF, String)
Removes raster images contained in specified rectangle.
Public methodRemoveImages(Int32, Single, Single, Single, Single, String)
Removes raster images contained in specified rectangle.
Public methodRemoveText(ISearchResult, Stream)
Removes the text by the search result got from Find(Int32, String, Boolean) methods.
Public methodRemoveText(ISearchResult, String)
Removes the text by the search result got from Find(Int32, String, Boolean) methods.
Public methodRemoveText(IEnumerableISearchResult, Stream)
Removes the text by the search results received from FindAll(Int32, String, Boolean) method.
Public methodRemoveText(IEnumerableISearchResult, String)
Removes the text by the search results received from FindAll(Int32, String, Boolean) method.
Public methodRemoveText(Int32, IEnumerablePointF, Stream)
Removes text object located in the specified points.
Public methodRemoveText(Int32, IEnumerablePointF, String)
Removes text objects located in the specified points.
Public methodRemoveText(Int32, IEnumerableRectangleF, Stream)
Removes all text objects located in or intersecting the specified rectangles.
Public methodRemoveText(Int32, IEnumerableRectangleF, String)
Removes all text objects located in or intersecting the specified rectangles.
Public methodRemoveText(Int32, PointF, Stream)
Removes text object located in the specified point.
Public methodRemoveText(Int32, PointF, String)
Removes text object located in the specified point.
Public methodRemoveText(Int32, RectangleF, Stream)
Removes all text objects located in or intersecting the specified rectangle.
Public methodRemoveText(Int32, RectangleF, String)
Removes all text objects located in or intersecting the specified rectangle.
Public methodRemoveText(Int32, IEnumerableString, Boolean, Stream)
Removes the first occurrence of the specified text.
Public methodRemoveText(Int32, IEnumerableString, Boolean, String)
Removes the first occurrences of the specified text strings.
Public methodRemoveText(Int32, Single, Single, Stream)
Removes text object located in the specified point.
Public methodRemoveText(Int32, Single, Single, String)
Removes text object located in the specified point.
Public methodRemoveText(Int32, String, Boolean, Stream)
Removes the first occurrence of the specified text.
Public methodRemoveText(Int32, String, Boolean, String)
Removes the first occurrence of the specified text.
Public methodRemoveText(Int32, Single, Single, Single, Single, Stream)
Removes all text objects located in or intersecting the specified rectangle.
Public methodRemoveText(Int32, Single, Single, Single, Single, String)
Removes all text objects located in or intersecting the specified rectangle.
Public methodRemoveVectors(Int32, RectangleF, Stream)
Removes vector objects contained in specified rectangle.
Public methodRemoveVectors(Int32, RectangleF, String)
Removes vector objects contained in specified rectangle.
Public methodRemoveVectors(Int32, Single, Single, Single, Single, Stream)
Removes vector objects contained in specified rectangle.
Public methodRemoveVectors(Int32, Single, Single, Single, Single, String)
Removes vector objects contained in specified rectangle.
Public methodReset
Resets the instance, disposes internal resources and releases the file. Use this method before loading another PDF file.
Public methodToString (Inherited from Object.)
Top
Events
NameDescription
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.
Top
See Also

Reference