Link Search Menu Expand Document

IRemover2 Interface

Defines a class for PDF extractors.

Namespace:Bytescout.PDFExtractor
Assembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
public interface IRemover2

The IRemover2 type exposes the following members.

Properties
NameDescription
Public propertyImageFormat
Image format to convert PDF pages to. Used in MakePDFUnsearchable mode.
Public propertyJPEGQuality
Gets or sets the quality for JPEG image format. Used in MakePDFUnsearchable mode.
Public propertyMakePDFUnsearchable
Get or sets whether to make the output document unsearchable. If true, all PDF pages will be replaced with rendered images.
Public propertyMaskColor
Gets or sets the color of masking rectangle applied by MaskRemovedText property.
Public propertyMaskRemovedText
Get or sets whether to mask removed text fragments with solid color rectangles to make the output document look like "censored". Use MaskColor to change the color of masking rectangle.
Public propertyRemoveTextWhileMasking
Get or sets whether to remove text or not while applying masking. This can be helpful if we only needed to apply Masking and not removing text.
Public propertyRenderingResolution
Gets or sets PDF rendering resolution for MakePDFUnsearchable mode. Larger resolution - larger output document, but better visual quality.
Public propertySearchInShadowLikeText
Sets whether to search in shadow-like text (when the same text is drawn twice with small offset).
Top
Methods
NameDescription
Public methodAddImagesToRemove(Int32, RectangleF)
Adds rectangle to remove images from.
Public methodAddImagesToRemove(Int32, Single, Single, Single, Single)
Public methodAddImageToRemove(Int32, PointF)
Adds point to remove image from.
Public methodAddImageToRemove(Int32, Single, Single)
Adds point to remove image from.
Public methodAddTextToRemove(ISearchResult)
Removes the text by the search result got from Find(Int32, String, Boolean) methods.
Public methodAddTextToRemove(IEnumerableISearchResult)
Adds text search results received from FindAll(Int32, String, Boolean) method for removal.
Public methodAddTextToRemove(Int32, IEnumerablePointF)
Adds text objects located in the specified points for removal.
Public methodAddTextToRemove(Int32, IEnumerableRectangleF)
Adds all text objects located in or intersecting the specified rectangles for removal.
Public methodAddTextToRemove(Int32, PointF)
Adds text object located in the specified point for removal.
Public methodAddTextToRemove(Int32, RectangleF)
Adds all text objects located in or intersecting the specified rectangle for removal.
Public methodAddTextToRemove(Int32, IEnumerableString, Boolean)
Adds all occurrence of the specified text for removal.
Public methodAddTextToRemove(Int32, Single, Single)
Adds text object located in the specified point for removal.
Public methodAddTextToRemove(Int32, String, Boolean)
Adds all occurrence of the specified text for removal.
Public methodAddTextToRemove(Int32, Single, Single, Single, Single)
Adds all text objects located in or intersecting the specified rectangle for removal.
Public methodAddVectorsToRemove(Int32, RectangleF)
Adds rectangle to remove vector objects from.
Public methodAddVectorsToRemove(Int32, Single, Single, Single, Single)
Adds rectangle to remove vector objects from.
Public methodGetObjectRectangleFromPoint
Returns bounding rectangle of text object located at the specified point.
Public methodPerformRemoval(Stream)
Remove the added text fragments and save the edited document to the specified stream.
Public methodPerformRemoval(String)
Remove the added text fragments and save the edited document to the specified file.
Public methodPerformRemovalToVariant
Remove the added text fragments and returns the result PDF document as array of bytes. This is COM/ActiveX-compatible version of the method PerformRemoval(Stream).
Top
See Also

Reference