pdfSweep 2.0.5 API
|
This class represents a generic cleanup strategy to be used with PdfAutoSweep ICleanupStrategy must implement Cloneable to ensure a strategy can be reset after having handled a page. More...
Public Member Functions |
|
Color | GetRedactionColor (IPdfTextLocation location) |
Get the color in which redaction is to take place More... |
|
ICleanupStrategy | Reset () |
ICleanupStrategy objects have to be reset at times PdfAutoSweep will use the same strategy for all pages, and expects to receive only the rectangles from the last page as output. More... |
|
This class represents a generic cleanup strategy to be used with PdfAutoSweep ICleanupStrategy must implement Cloneable to ensure a strategy can be reset after having handled a page.
Color iText.PdfCleanup.Autosweep.ICleanupStrategy.GetRedactionColor | ( | IPdfTextLocation | location | ) |
Get the color in which redaction is to take place
location | where to get the redaction color from |
Implemented in iText.PdfCleanup.Autosweep.CompositeCleanupStrategy, and iText.PdfCleanup.Autosweep.RegexBasedCleanupStrategy.
ICleanupStrategy iText.PdfCleanup.Autosweep.ICleanupStrategy.Reset | ( | ) |
ICleanupStrategy objects have to be reset at times PdfAutoSweep
will use the same strategy for all pages, and expects to receive only the rectangles from the last page as output.
ICleanupStrategy objects have to be reset at times PdfAutoSweep
will use the same strategy for all pages, and expects to receive only the rectangles from the last page as output. Hence the reset method.
Implemented in iText.PdfCleanup.Autosweep.CompositeCleanupStrategy, and iText.PdfCleanup.Autosweep.RegexBasedCleanupStrategy.