Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfRedactionArea

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

Rectangle requested for redaction planning, using PDF point coordinates from the page bottom-left.

Inheritance

  • object
  • PdfRedactionArea

Remarks

Native page coordinates use default user-space units: one unit is /UserUnit physical points (1/72 inch each), defaulting to 1. Local text/font and matrix values retain their native coordinate spaces. Explicit visual projections use their documented coordinates.

Usage

Explore 7 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 3

Constructors

PdfRedactionArea 4 overloads
public PdfRedactionArea(int pageNumber, double x, double y, double width, double height, string? label = null) #

Creates a redaction area.

Parameters

pageNumber int required
x double required
y double required
width double required
height double required
label string? = null optional
public PdfRedactionArea(int pageNumber, double x, double y, double width, double height, string? label, PdfRedactionContentScope contentScope) #

Creates a redaction area with an explicit intersecting-content policy.

Parameters

pageNumber int required
x double required
y double required
width double required
height double required
label string? required
contentScope OfficeIMO.Pdf.PdfRedactionContentScope required
public PdfRedactionArea(int pageNumber, double x, double y, double width, double height, string? label, PdfRedactionAppearanceMode appearanceMode) #

Creates a redaction area with an explicit visible-appearance policy.

Parameters

pageNumber int required
x double required
y double required
width double required
height double required
label string? required
appearanceMode OfficeIMO.Pdf.PdfRedactionAppearanceMode required
public PdfRedactionArea(int pageNumber, double x, double y, double width, double height, string? label, PdfRedactionContentScope contentScope, PdfRedactionAppearanceMode appearanceMode) #

Creates a redaction area with explicit intersecting-content and visible-appearance policies.

Parameters

pageNumber int required
x double required
y double required
width double required
height double required
label string? required
contentScope OfficeIMO.Pdf.PdfRedactionContentScope required
appearanceMode OfficeIMO.Pdf.PdfRedactionAppearanceMode required

Methods

public PdfRedactionArea WithLabel(string? label) #

Returns this area with a different review label, preserving its geometry and removal policy.

Parameters

label string? required

Properties

public int PageNumber { get; } #

One-based page number.

public double X { get; } #

Left coordinate in page user-space units.

public double Y { get; } #

Bottom coordinate in page user-space units.

public double Width { get; } #

Rectangle width in page user-space units.

public double Height { get; } #

Rectangle height in page user-space units.

public string? Label { get; } #

Optional caller label.

public PdfRedactionContentScope ContentScope { get; } #

Intersecting content removal policy for this reviewed area.

public PdfRedactionAppearanceMode AppearanceMode { get; } #

Visible privacy-appearance policy for this reviewed area.

public double Right { get; } #

Right coordinate in page user-space units.

public double Top { get; } #

Top coordinate in page user-space units.