Table of Contents

Constructor PdfRedactionArea

Namespace
LMKit.Document.Pdf
Assembly
LM-Kit.NET.dll

PdfRedactionArea(int, IBounds)

Initializes a redaction area from a page index and a bounding box.

public PdfRedactionArea(int pageIndex, IBounds bounds)

Parameters

pageIndex int

Zero-based page index.

bounds IBounds

The 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 pageIndex is negative.

ArgumentNullException

Thrown when bounds is null.

ArgumentException

Thrown when bounds has a non-positive width or height.

Share