Struct RedactionArea

Namespace
SoftZenPdf.Redact
Assembly
SoftZenPdf.Redact.dll

A rectangle to redact on a page, in points in the page's own coordinate space (origin at the bottom-left of the media box, before the page's /Rotate is applied), the same space as ExtractTextWithPositions(int, TextExtractionOptions?).

public readonly record struct RedactionArea : IEquatable<RedactionArea>
Implements
Inherited Members

Constructors

RedactionArea(int, double, double, double, double)

A rectangle to redact on a page, in points in the page's own coordinate space (origin at the bottom-left of the media box, before the page's /Rotate is applied), the same space as ExtractTextWithPositions(int, TextExtractionOptions?).

Properties

Height

Height in points.

PageIndex

Zero-based page index.

Width

Width in points.

X1

Left edge.

X2

Right edge.

Y1

Bottom edge.

Y2

Top edge.

Methods

Inflate(double)

The same area grown by margin points on every side.