Class RedactionSettings
Represents the settings that allows to customize the default appearance and behavior of redaction.
Inheritance
Namespace: Syncfusion.Maui.PdfViewer
Assembly: Syncfusion.Maui.PdfViewer.dll
Syntax
public class RedactionSettings : Object
Constructors
RedactionSettings()
Declaration
public RedactionSettings()
Properties
FillColor
Gets or sets the default fill color of the redaction.
Declaration
public Color FillColor { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Graphics.Color |
FontColor
Gets or sets the default color of the overlay text.
Declaration
public Color FontColor { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Graphics.Color |
FontFamily
Gets or sets the default 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 default size of the overlay text.
Declaration
public double FontSize { get; set; }
Property Value
| Type |
|---|
| System.Double |
IsRepeat
Gets or sets the default 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 default 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 default 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 default opacity for the fill color of redaction mark appearance. The value ranges from 0 to 1.
Declaration
public float MarkerOpacity { get; set; }
Property Value
| Type |
|---|
| System.Single |
OverlayText
Gets or sets the default overlay text of the redaction.
Declaration
public string OverlayText { get; set; }
Property Value
| Type |
|---|
| System.String |