Constructor PdfRedactionArea
PdfRedactionArea(int, IBounds)
Initializes a redaction area from a page index and a bounding box.
public PdfRedactionArea(int pageIndex, IBounds bounds)
Parameters
pageIndexintZero-based page index.
boundsIBoundsThe region to redact, in top-left origin page points. Any IBounds is accepted, including a Rectangle, a layout TextElement, or a search match's bounds. The edges are normalized, so reversed edges are handled.
Exceptions
- ArgumentOutOfRangeException
Thrown when
pageIndexis negative.- ArgumentNullException
Thrown when
boundsisnull.- ArgumentException
Thrown when
boundshas a non-positive width or height.