Method RedactArea
- Namespace
- SoftZenPdf.Redact
- Assembly
- SoftZenPdf.Redact.dll
RedactArea(int, double, double, double, double)
Marks an area for redaction: everything drawn inside it is removed.
public void RedactArea(int pageIndex, double x1, double y1, double x2, double y2)
Parameters
pageIndexintZero-based page index.
x1doubleOne corner's x, in points.
y1doubleOne corner's y.
x2doubleThe opposite corner's x.
y2doubleThe opposite corner's y.
RedactArea(RedactionArea)
Marks an area for redaction: everything drawn inside it is removed.
public void RedactArea(RedactionArea area)
Parameters
areaRedactionAreaThe area.
Exceptions
- ArgumentOutOfRangeException
The page index is outside the document, or the area is empty.