Class RedactionMark
Represents the region that is redacted (or) marked for redaction on the PDF page.
Inheritance
Implements
Namespace: Syncfusion.Maui.PdfViewer
Assembly: Syncfusion.Maui.PdfViewer.dll
Syntax
public class RedactionMark : Object, INotifyPropertyChanged
Constructors
RedactionMark(RectF, Int32)
Initializes a new instance of the RedactionMark class.
Declaration
public RedactionMark(RectF bounds, int pageNumber)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.Maui.Graphics.RectF | bounds | Bounds of the redaction mark. |
| System.Int32 | pageNumber | The page number to which the redaction should be added. |
Properties
Bounds
Gets the bounds of the region that is redacted (or) marked for redaction on the PDF page.
Declaration
public RectF Bounds { get; }
Property Value
| Type |
|---|
| Microsoft.Maui.Graphics.RectF |
FillColor
Gets or sets the fill color of the redaction.
Declaration
public Color FillColor { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Graphics.Color |
FontColor
Gets and sets the color of the overlay text.
Declaration
public Color FontColor { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Graphics.Color |
FontFamily
Gets or sets the font family used for the overlay text in the redaction.
Declaration
public string FontFamily { get; set; }
Property Value
| Type |
|---|
| System.String |
Remarks
Defines the font style of the overlay text that appears on the redacted area. You can use standard font family names such as Symbol, Courier, Helvetica, or any other supported font.The default value is "Helvetica".
FontSize
Gets or sets the font size of the overlay text.
Declaration
public double FontSize { get; set; }
Property Value
| Type |
|---|
| System.Double |
IsRepeat
Gets or sets a value indicating whether the overlay text should repeat to fill the redaction area.
Declaration
public bool IsRepeat { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
MarkerBorderColor
Gets or sets the border color of the redaction marker appearance.
Declaration
public Color MarkerBorderColor { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Graphics.Color |
MarkerFillColor
Gets or sets the fill color for the redaction mark appearance.
Declaration
public Color MarkerFillColor { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Graphics.Color |
MarkerOpacity
Gets or sets the opacity for the fill color of redaction mark appearance.
Declaration
public float MarkerOpacity { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single | The value ranges from 0 to 1. |
OverlayText
Gets or sets the overlay text of the redaction.
Declaration
public string OverlayText { get; set; }
Property Value
| Type |
|---|
| System.String |
PageNumber
Gets the page number in which the redaction is applied.
Declaration
public int PageNumber { get; }
Property Value
| Type |
|---|
| System.Int32 |
Events
PropertyChanged
Occurs when a property changed.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type |
|---|
| System.ComponentModel.PropertyChangedEventHandler |