Class SmartRedactSettings
Defines settings for the Smart Redaction feature.
Inheritance
System.Object
SmartRedactSettings
Implements
System.ComponentModel.INotifyPropertyChanged
Namespace: Syncfusion.Maui.SmartPdfViewer
Assembly: Syncfusion.Maui.SmartPdfViewer.dll
Syntax
public class SmartRedactSettings : Object, 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 |
|---|
| System.Boolean |
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 |
|---|
| System.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 |
|---|---|---|
| System.String | propertyName | The name of the changed property. |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type |
|---|
| System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged