Free Trial
Web API version
Licensing
Request A Quote
HAVE QUESTIONS OR NEED HELP? SUBMIT THE SUPPORT REQUEST FORM or write email to SUPPORT@BYTESCOUT.COM
Defines a class for PDF extractors.
Namespace: Bytescout.PDFExtractor
Assembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.1.4801-master
Syntax
The IRemover2 type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| ImageFormat |
Image format to convert PDF pages to. Used in MakePDFUnsearchable mode.
| |
| JPEGQuality |
Gets or sets the quality for JPEG image format. Used in MakePDFUnsearchable mode.
| |
| MakePDFUnsearchable |
Get or sets whether to make the output document unsearchable. If true, all PDF pages will be replaced with rendered images.
| |
| MaskColor |
Gets or sets the color of masking rectangle applied by MaskRemovedText property.
| |
| MaskRemovedText |
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.
| |
| RemoveTextWhileMasking |
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.
| |
| RenderingResolution |
Gets or sets PDF rendering resolution for MakePDFUnsearchable mode. Larger resolution - larger output document, but better visual quality.
| |
| SearchInShadowLikeText |
Sets whether to search in shadow-like text (when the same text is drawn twice with small offset).
|
Methods
| Name | Description | |
|---|---|---|
| AddImagesToRemove(Int32, RectangleF) |
Adds rectangle to remove images from.
| |
| AddImagesToRemove(Int32, Single, Single, Single, Single) | ||
| AddImageToRemove(Int32, PointF) |
Adds point to remove image from.
| |
| AddImageToRemove(Int32, Single, Single) |
Adds point to remove image from.
| |
| AddTextToRemove(ISearchResult) |
Removes the text by the search result got from Find(Int32, String, Boolean) methods.
| |
| AddTextToRemove(IEnumerableISearchResult) |
Adds text search results received from FindAll(Int32, String, Boolean) method for removal.
| |
| AddTextToRemove(Int32, IEnumerablePointF) |
Adds text objects located in the specified points for removal.
| |
| AddTextToRemove(Int32, IEnumerableRectangleF) |
Adds all text objects located in or intersecting the specified rectangles for removal.
| |
| AddTextToRemove(Int32, PointF) |
Adds text object located in the specified point for removal.
| |
| AddTextToRemove(Int32, RectangleF) |
Adds all text objects located in or intersecting the specified rectangle for removal.
| |
| AddTextToRemove(Int32, IEnumerableString, Boolean) |
Adds all occurrence of the specified text for removal.
| |
| AddTextToRemove(Int32, Single, Single) |
Adds text object located in the specified point for removal.
| |
| AddTextToRemove(Int32, String, Boolean) |
Adds all occurrence of the specified text for removal.
| |
| AddTextToRemove(Int32, Single, Single, Single, Single) |
Adds all text objects located in or intersecting the specified rectangle for removal.
| |
| AddVectorsToRemove(Int32, RectangleF) |
Adds rectangle to remove vector objects from.
| |
| AddVectorsToRemove(Int32, Single, Single, Single, Single) |
Adds rectangle to remove vector objects from.
| |
| GetObjectRectangleFromPoint |
Returns bounding rectangle of text object located at the specified point.
| |
| PerformRemoval(Stream) |
Remove the added text fragments and save the edited document to the specified stream.
| |
| PerformRemoval(String) |
Remove the added text fragments and save the edited document to the specified file.
| |
| PerformRemovalToVariant |
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).
|
See Also