API Reference
PdfRedactionArea
Rectangle requested for redaction planning, using PDF point coordinates from the page bottom-left.
Inheritance
- Object
- PdfRedactionArea
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property PdfRedactionMatch.Area
- Property PdfRedactionPlan.Areas
- Property PdfRedactionRegion.Areas
Accepted by parameters
- Method PdfDocumentRedactions.Apply
- Method PdfDocumentRedactions.Plan
- Method PdfDocumentRedactions.Plan
- Method PdfDocumentRedactions.TryApply
- Method PdfRedactionRegion.Group
Constructors
public PdfRedactionArea(Int32 pageNumber, Double x, Double y, Double width, Double height, String label = null) #Creates a redaction area.
Parameters
- pageNumber System.Int32
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- label System.String = null
public PdfRedactionArea(Int32 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 System.Int32
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- label System.String
- contentScope OfficeIMO.Pdf.PdfRedactionContentScope
public PdfRedactionArea(Int32 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 System.Int32
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- label System.String
- appearanceMode OfficeIMO.Pdf.PdfRedactionAppearanceMode
public PdfRedactionArea(Int32 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 System.Int32
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- label System.String
- contentScope OfficeIMO.Pdf.PdfRedactionContentScope
- appearanceMode OfficeIMO.Pdf.PdfRedactionAppearanceMode
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public Int32 PageNumber { get; } #One-based page number.
public Double X { get; } #Left coordinate in PDF points.
public Double Y { get; } #Bottom coordinate in PDF points.
public Double Width { get; } #Rectangle width in PDF points.
public Double Height { get; } #Rectangle height in PDF points.
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 PDF points.
public Double Top { get; } #Top coordinate in PDF points.