Class SmartRedactSettings
Defines settings for the Smart Redaction feature.
Implements
Inherited Members
Namespace: Syncfusion.Maui.SmartPdfViewer
Assembly: Syncfusion.Maui.SmartPdfViewer.dll
Syntax
public class SmartRedactSettings : INotifyPropertyChanged
Constructors
SmartRedactSettings()
Declaration
public SmartRedactSettings()
Properties
IsEnabled
Gets or sets a value indicating whether Smart Redaction is available in the PDF Viewer.
Declaration
public bool IsEnabled { get; set; }
Property Value
| Type |
|---|
| bool |
Remarks
When disabled, users cannot access AI-assisted redaction features.
Examples
RedactPatterns
Gets or sets a collection of patterns used to identify sensitive information in PDF documents.
Declaration
public string[] RedactPatterns { get; set; }
Property Value
| Type |
|---|
| string[] |
Remarks
Custom patterns can be added to detect organization-specific confidential content. Examples include names, phone numbers, email addresses, identification numbers, and financial information.
Methods
OnPropertyChanged(string?)
Raises the PropertyChanged event.
Declaration
protected virtual void OnPropertyChanged(string? propertyName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | propertyName | The name of the changed property. |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler? PropertyChanged
Event Type
| Type |
|---|
| PropertyChangedEventHandler |