Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
PdfViewerCommentFilterSettingsBuilder
Assembly: Syncfusion.AspNetCore.PdfViewer.dll
public class PdfViewerCommentFilterSettingsBuilder : ControlBuilder
Constructors
Declaration
public PdfViewerCommentFilterSettingsBuilder()
Declaration
public PdfViewerCommentFilterSettingsBuilder(PdfViewerCommentFilterSettings model)
Parameters
Methods
Apply filtering to both comment panel and document annotations.
- false: Comment Panel only (default)
- true: Comment Panel + Document annotations
Declaration
public PdfViewerCommentFilterSettingsBuilder ApplyToDocument(bool value)
Parameters
| Type |
Name |
Description |
| System.Boolean |
value |
|
Returns
Filter by comment author name.
Declaration
public PdfViewerCommentFilterSettingsBuilder Author(string[] value)
Parameters
| Type |
Name |
Description |
| System.String[] |
value |
|
Returns
Filter by annotation color (hex or named).
Examples: '#FF0000', 'red', '#FFC000'
Declaration
public PdfViewerCommentFilterSettingsBuilder Color(string[] value)
Parameters
| Type |
Name |
Description |
| System.String[] |
value |
|
Returns
When author filtering is active, include reply threads by any author or only parent author.
- true: Show threads if parent OR any reply matches author filter
- false: Show threads only if parent matches author filter
Declaration
public PdfViewerCommentFilterSettingsBuilder IncludeReplies(bool value)
Parameters
| Type |
Name |
Description |
| System.Boolean |
value |
|
Returns
Filter by collection of specific modified dates (ISO 8601).
Format: ['2026-05-01', '2026-05-04', '2026-05-10']
Annotations matching any date in the collection are shown.
Declaration
public PdfViewerCommentFilterSettingsBuilder ModifiedDate(string[] value)
Parameters
| Type |
Name |
Description |
| System.String[] |
value |
|
Returns
Filter by comment status.
Declaration
public PdfViewerCommentFilterSettingsBuilder Status(CommentStatus value)
Parameters
Returns
Filter by annotation type.
Supported values: 'Highlight', 'StickNote', 'Rectangle', 'Circle',
'Polygon', 'Polyline', 'Line', 'Arrow', 'FreeText', 'Measure', 'Stamp', 'Ink', 'Redaction', 'Signature', 'InkSignature'
Declaration
public PdfViewerCommentFilterSettingsBuilder Type(AnnotationType value)
Parameters
Returns