You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To customize menu items, refer to [**Customize Context Menu**](../../context-menu/custom-context-menu) documentation.
80
+
81
+
---
82
+
83
+
### Enable Highlight Mode
74
84
75
85
Switch the viewer into highlight mode using `setAnnotationMode('Highlight')`.
76
86
@@ -85,7 +95,7 @@ function enableHighlight() {
85
95
{% endhighlight %}
86
96
{% endtabs %}
87
97
88
-
### Exit Highlight Mode
98
+
####Exit Highlight Mode
89
99
90
100
Switch back to normal mode using:
91
101
@@ -100,7 +110,9 @@ function disableHighlightMode() {
100
110
{% endhighlight %}
101
111
{% endtabs %}
102
112
103
-
### Add Highlight Programmatically (with bounds)
113
+
---
114
+
115
+
### Add Highlight Programmatically
104
116
105
117
Use [`addAnnotation()`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/index-default#addannotation) to insert highlight at a specific location.
106
118
@@ -119,38 +131,6 @@ function addHighlight() {
119
131
{% endhighlight %}
120
132
{% endtabs %}
121
133
122
-
123
-
## Add Multiple Highlights with Individual Properties
124
-
You can also supply custom per‑annotation settings:
To customize menu items, refer to [**Customize Context Menu**](../../context-menu/custom-context-menu) documentation.
212
+
Use the [Comments panel](../comments) to add, view, and reply to threaded discussions linked to underline annotations.
213
+
It provides a dedicated UI for reviewing feedback, tracking conversations, and collaborating on annotation‑related notes within the PDF Viewer.
240
214
241
215
---
242
216
243
-
## Handle Highlight Events
217
+
## Set properties while adding Individual Annotation
244
218
245
-
Subscribe to annotation lifecycle events.
219
+
Set properties for individual annotation before creating the control using [highlightSettings](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/index-default#highlightsettings)
See [**Annotation Events**](../annotation-event) page for full list and parameter details.
263
-
264
249
---
265
250
266
251
## Disable TextMarkup Annotation
252
+
267
253
Disable text markup annotations (including highlight) using the [`enableTextMarkupAnnotation`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/index-default#enabletextmarkupannotation) property.
268
254
269
255
{% tabs %}
@@ -276,17 +262,25 @@ Disable text markup annotations (including highlight) using the [`enableTextMark
The PDF viewer provides annotation life-cycle events that notify when highlight annotations are added, modified, selected, or removed.
276
+
For the full list of available events and their descriptions, see [**Annotation Events**](../annotation-event)
277
+
278
+
---
279
+
280
+
## Export and Import
288
281
289
-
Use the [**Download**](../../download) tool to export the PDF with highlight annotations included. The original document remains unchanged.
282
+
The PDF Viewer supports exporting and importing annotations, allowing you to save annotations as a separate file or load existing annotations back into the viewer.
283
+
For full details on supported formats and steps to export or import annotations, see [Export and Import Annotation](../export-import-annotations)
290
284
291
285
---
292
286
@@ -296,3 +290,5 @@ Use the [**Download**](../../download) tool to export the PDF with highlight ann
0 commit comments