From 5f36c7a51acf9783692c2aea77baf95264cd567a Mon Sep 17 00:00:00 2001 From: Dhanush Sugumaran Date: Tue, 28 Jul 2026 14:53:42 +0530 Subject: [PATCH 1/3] Task(1043919): Revamped the UG documentation for the Annotation samples in the Vue PDF Viewer platform --- .../annotation/annotation-comment-filter.md | 12 ++- .../vue/annotation/annotation-event.md | 4 +- .../annotation/annotations-in-mobile-view.md | 3 +- .../PDF/PDF-Viewer/vue/annotation/comments.md | 4 +- .../vue/annotation/free-text-annotation.md | 8 +- .../vue/annotation/ink-annotation.md | 6 +- .../PDF-Viewer/vue/annotation/ink-eraser.md | 2 +- .../vue/annotation/line-angle-constraints.md | 4 +- .../vue/annotation/measurement-annotation.md | 82 +++++++++---------- .../vue/annotation/shape-annotation.md | 2 +- .../vue/annotation/signature-annotation.md | 8 +- .../vue/annotation/stamp-annotation.md | 16 ++-- .../vue/annotation/sticky-notes-annotation.md | 18 ++-- .../vue/annotation/text-markup-annotation.md | 38 ++++----- 14 files changed, 102 insertions(+), 105 deletions(-) diff --git a/Document-Processing/PDF/PDF-Viewer/vue/annotation/annotation-comment-filter.md b/Document-Processing/PDF/PDF-Viewer/vue/annotation/annotation-comment-filter.md index bb18c764a8..6513d3854e 100644 --- a/Document-Processing/PDF/PDF-Viewer/vue/annotation/annotation-comment-filter.md +++ b/Document-Processing/PDF/PDF-Viewer/vue/annotation/annotation-comment-filter.md @@ -63,7 +63,7 @@ Follow these steps to filter annotations by their type and status: 1. Click the **filter icon** in the comments panel toolbar 2. In the **Annotation Type** dropdown, select the annotation types you want to view (e.g., Highlight, Underline) -3. In the **Status** dropdown, select the status you want to filter by (e.g., Accepted, Rejected, Pending) +3. In the **Status** dropdown, select the status you want to filter by (e.g., Accepted, Rejected) 4. Click **APPLY** to see only annotations matching your criteria 5. Use the **CLEAR** button to reset all filters @@ -177,12 +177,10 @@ export default { // includereplies: true, applyToDocument: true }); - } - }, - - handleClearFilter() { - if (viewerRef.current) { - viewerRef.current.annotation.applyCommentFilter(null); + }, + clearFilter() { + const pdfViewer = this.$refs.pdfViewer.ej2Instances; + pdfViewer.annotation.applyCommentFilter(null); } }, provide: { diff --git a/Document-Processing/PDF/PDF-Viewer/vue/annotation/annotation-event.md b/Document-Processing/PDF/PDF-Viewer/vue/annotation/annotation-event.md index e1ddf0e701..ac3d060567 100644 --- a/Document-Processing/PDF/PDF-Viewer/vue/annotation/annotation-event.md +++ b/Document-Processing/PDF/PDF-Viewer/vue/annotation/annotation-event.md @@ -2,7 +2,7 @@ layout: post title: Annotation Events in Vue PDF Viewer control | Syncfusion description: Learn here all about Annotation Events in Syncfusion Vue PDF Viewer component of Syncfusion Essential JS 2 and more. -control: Annotation Events +control: PDF Viewer platform: document-processing documentation: ug domainurl: ##DomainURL## @@ -33,7 +33,7 @@ The annotation events supported by the PDF Viewer control are: | [resizeSignature](#resizesignature) | Triggers when a signature is resized. | | [signaturePropertiesChange](#signaturepropertieschange) | Triggers when signature properties change. | | [signatureSelect](#signatureselect) | Triggers when a signature is selected. | -| [signatureUnselect](#signatureunselect) | Triggers when a signature is unselected. | | +| [signatureUnselect](#signatureunselect) | Triggers when a signature is unselected. | ### annotationAdd diff --git a/Document-Processing/PDF/PDF-Viewer/vue/annotation/annotations-in-mobile-view.md b/Document-Processing/PDF/PDF-Viewer/vue/annotation/annotations-in-mobile-view.md index cac0c5d9f9..5f578835fa 100644 --- a/Document-Processing/PDF/PDF-Viewer/vue/annotation/annotations-in-mobile-view.md +++ b/Document-Processing/PDF/PDF-Viewer/vue/annotation/annotations-in-mobile-view.md @@ -7,6 +7,7 @@ control: PDF Viewer documentation: ug domainurl: ##DomainURL## --- + # Annotations in mobile view in Vue PDF Viewer control This article describes how to use annotation tools in the Syncfusion Vue PDF Viewer on touch-enabled (mobile) devices. It covers enabling the annotation toolbar, adding common annotation types, adjusting annotation properties, using comments, and removing annotations. @@ -49,7 +50,7 @@ This article describes how to use annotation tools in the Syncfusion Vue PDF Vie **Step 2:** Choose a shape or measurement type, then draw the annotation on the page using touch gestures. -![Select measurement type](../images/open-radius.png) +![Select radius measurement type](../images/open-radius.png) **Step 3:** The shape or measurement annotation is added to the PDF and can be adjusted via its property toolbar. diff --git a/Document-Processing/PDF/PDF-Viewer/vue/annotation/comments.md b/Document-Processing/PDF/PDF-Viewer/vue/annotation/comments.md index aad161cf08..55b6d48de9 100644 --- a/Document-Processing/PDF/PDF-Viewer/vue/annotation/comments.md +++ b/Document-Processing/PDF/PDF-Viewer/vue/annotation/comments.md @@ -2,7 +2,7 @@ layout: post title: Comments in Vue PDF Viewer component | Syncfusion description: Learn about comments, replies, and status in the Syncfusion Vue PDF Viewer component of Syncfusion Essential JS 2 and more. -control: Comments +control: PDF Viewer platform: document-processing documentation: ug domainurl: ##DomainURL## @@ -105,7 +105,7 @@ Edit comments and replies in the following ways: * Click More options in the comment or reply container. * Select Delete from the context menu. -![CommentDelete](../images/commentsdelete.png) +![Delete a comment from the comment panel](../images/commentsdelete.png) N> Deleting the root comment from the comment panel also deletes the associated annotation. diff --git a/Document-Processing/PDF/PDF-Viewer/vue/annotation/free-text-annotation.md b/Document-Processing/PDF/PDF-Viewer/vue/annotation/free-text-annotation.md index bb51d3ef14..be3740f1c8 100644 --- a/Document-Processing/PDF/PDF-Viewer/vue/annotation/free-text-annotation.md +++ b/Document-Processing/PDF/PDF-Viewer/vue/annotation/free-text-annotation.md @@ -2,7 +2,7 @@ layout: post title: Free text annotation in Vue PDF viewer component | Syncfusion description: Learn about free text annotations in the Syncfusion Vue PDF Viewer (Essential JS 2): add, edit, delete, and default settings. -control: Free text annotation +control: PDF Viewer platform: document-processing documentation: ug domainurl: ##DomainURL## @@ -627,7 +627,7 @@ Select a color from the Font Color palette to change the font color. Use the Text Align tool to set the annotation text alignment. -![FreeTextAnnotation](../images/textalign.png) +![Set free text alignment](../images/textalign.png) ### Font styles @@ -694,7 +694,7 @@ provide('PdfViewer', [Toolbar, Magnification, Navigation, LinkAnnotation, Bookma {% endhighlight %} -{% highlight html tabtitle="Optiions API (Standalone)" %} +{% highlight html tabtitle="Options API (Standalone)" %}