diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/Localization/default-language.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/Localization/default-language.md
index 6f687afb3..a20b27f87 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/Localization/default-language.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/Localization/default-language.md
@@ -8,12 +8,14 @@ documentation: ug
domainurl: ##DomainURL##
---
-# Localization support in JavaScript PDF Viewer
+# Localization in the JavaScript PDF Viewer
-The PDF Viewer fully supports localization, allowing all UI text, tooltips, and messages to be replaced with culture-specific strings so the interface matches users’ language and regional settings.
+The PDF Viewer supports localization of UI text, tooltips, and messages using culture-specific string collections so the interface matches users' language and regional settings.

+N> Change the viewer locale by setting the `locale` property in the viewer options during initialization or by assigning `pdfviewer.locale` before rendering.
+
## Default language (en-US)
By default, the PDF Viewer uses the en-US culture and requires no additional configuration.
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/Localization/new-language.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/Localization/new-language.md
index 88ec41fb1..4ad83d8dc 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/Localization/new-language.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/Localization/new-language.md
@@ -8,15 +8,15 @@ documentation: ug
domainurl: ##DomainURL##
---
-# Set a new language (localization) in JavaScript
+# Set a new language in the JavaScript PDF Viewer
-You can localize the PDF Viewer UI by:
-- Registering localized strings for each culture using `L10n.load` at the application level
-- Setting the `locale` property of the `PdfViewer` instance to the desired culture
+Localize the PDF Viewer UI by:
+- Registering culture-specific strings with `L10n.load` at the application level
+- Setting the `locale` property on the `PdfViewer` instance to the desired culture

-## Example Code-snippet to change language using Locale
+## Example: change language using `locale` and `L10n.load`
{% tabs %}
{% highlight js tabtitle="Standalone" %}
@@ -308,7 +308,7 @@ ej.pdfviewer.PdfViewer.Inject(
{% endhighlight %}
{% endtabs %}
-N> You can find a comprehensive list of localization files/strings here: [GitHub Locale](https://github.com/syncfusion/ej2-locale). Provide only the keys you want to override, missing keys fall back to defaults.
+N> A comprehensive list of localization files and default strings is available on GitHub: [GitHub Locale](https://github.com/syncfusion/ej2-locale). Provide only the keys that require overrides; missing keys fall back to the default `en-US` values.
## See Also
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/Localization/rtl-language-support.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/Localization/rtl-language-support.md
index c71526109..8173a703b 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/Localization/rtl-language-support.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/Localization/rtl-language-support.md
@@ -8,20 +8,19 @@ documentation: ug
domainurl: ##DomainURL##
---
-# RTL Language Support in JavaScript PDF Viewer
-RTL support in JavaScript PDF Viewer:
+# RTL language support in JavaScript PDF Viewer
-- PDF Viewer component supports right-to-left layouts.
-- For RTL languages (Arabic, Hebrew, Persian), enable the [`enableRtl`](https://ej2.syncfusion.com/documentation/api/pdfviewer/index-default#enablertl) property.
-- Load culture-specific strings globally using `L10n.load`.
-- Set the PdfViewer [`locale`](https://ej2.syncfusion.com/documentation/api/pdfviewer/index-default#locale) property to the target culture.
+Use RTL support to render the viewer interface for right-to-left languages.
+- Enable `enableRtl` to apply right-to-left layout.
+- Load culture-specific strings globally with `L10n.load`.
+- Set the `locale` property on the `PdfViewer` instance to the target culture.

-## Example Code-snippet to Enable RTL with Arabic Localization
+## Example: enable RTL and provide Arabic localization
-Use the below code-snippet to enable RTL for RTL Languages(Arabic, Hebrew, Persian)
+Use the example below to enable RTL for languages such as Arabic, Hebrew, and Persian.
{% tabs %}
{% highlight js tabtitle="Standalone" %}
@@ -306,7 +305,8 @@ ej.pdfviewer.PdfViewer.Inject(
{% endhighlight %}
{% endtabs %}
-N> You can find a comprehensive list of localization files/strings here: [GitHub Locale](https://github.com/syncfusion/ej2-locale). Provide only the keys you want to override, missing keys fall back to defaults.
+
+N> A comprehensive list of localization files and default strings is available on GitHub: [GitHub Locale](https://github.com/syncfusion/ej2-locale). Provide only keys that require overrides; missing keys fall back to the default `en-US` values.
[View Sample on GitHub](https://github.com/SyncfusionExamples/javascript-pdf-viewer-examples)
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/Redaction/mobile-view.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/Redaction/mobile-view.md
index b0ca355da..3feae31c4 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/Redaction/mobile-view.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/Redaction/mobile-view.md
@@ -9,11 +9,11 @@ documentation: ug
# Redaction in Mobile View in JavaScript (ES5) PdfViewer Component
-The Redaction Tool enables users to permanently mark and remove sensitive content from PDF documents in mobile view using the JavaScript (ES5) PdfViewer component. This feature is optimized for touch interactions and provides a streamlined redaction workflow specifically designed for mobile devices.
+The Redaction Tool enables permanent marking and removal of sensitive content from PDF documents in mobile view using the JavaScript (ES5) PdfViewer component. This feature is optimized for touch interactions and provides a streamlined redaction workflow specifically designed for mobile devices.

-N> In mobile view, the redaction toolbar appears at the bottom of the viewer for easy thumb access. Mobile layout activates automatically on small screens.
+N> In mobile view, the redaction toolbar appears at the bottom of the viewer for easy thumb access. The mobile layout activates automatically on small screens.
## Adding Redaction in Mobile View
@@ -52,11 +52,10 @@ When you enter redaction mode in mobile view, a specialized redaction toolbar ap
### Redaction Annotation Tool
-The Redaction Annotation tool is the primary redaction feature that allows you to draw redaction rectangles on specific content:
+The Redaction Annotation tool is the primary redaction feature that allows you to drawing redaction rectangles on specific content:
Function: Creates visual redaction annotations that mark content for permanent removal
-Usage:
-Touch and drag to draw rectangular redaction overlays on any content area.
+Usage: Touch and drag to draw rectangular redaction overlays on any content area.
Process:
- Selected content appears with a customizable overlay (default black)
@@ -72,7 +71,7 @@ The Page Redaction tool enables batch redaction of entire pages based on specifi

Function: Redacts complete pages or page ranges with a single action
-Options Available:
+Options available:
- Odd Pages: Redacts only odd-numbered pages (1, 3, 5, etc.)
- Even Pages: Redacts only even-numbered pages (2, 4, 6, etc.)
- Specific Page: Specify single pages, ranges (e.g., 1-5, 10-15), or comma-separated lists (e.g., 1,3,5-7)
@@ -90,7 +89,7 @@ The Redaction Properties tool allows customization of redaction appearance befor

Function: Customize the visual appearance of redaction overlays and text replacement
-Customizable Properties:
+Customizable properties:
- Fill Color: Change the redaction overlay color (default: black)
- Outline Color: Set outline color for redaction boxes (optional)
- Overlay Text: Add custom text to appear on redacted areas (e.g., "REDACTED", "CONFIDENTIAL")
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/Redaction/overview.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/Redaction/overview.md
index 251095a98..0764c9bb1 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/Redaction/overview.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/Redaction/overview.md
@@ -1,7 +1,7 @@
---
layout: post
title: Redaction annotation in Javascript PDF Viewer | Syncfusion
-description: Learn how to hide sensitive information with interactive and programmatic redaction using the Syncfusion JavaScript PDF Viewer.
+description: Learn how to hide sensitive information with interactive and programmatic redaction using the Syncfusion JavaScript(ES5) PDF Viewer.
platform: document-processing
control: PDF Viewer
documentation: ug
@@ -10,7 +10,7 @@ domainurl: ##DomainURL##
# Redaction in JavaScript (ES5) PdfViewer
-Redaction annotations are used to hide confidential or sensitive information in a PDF. The Syncfusion JavaScript PDF Viewer (EJ2) lets you mark areas or entire pages for redaction, customize their appearance, and permanently apply them with a single action.
+Redaction annotations are used to hide confidential or sensitive information in a PDF. The Syncfusion JavaScript PDF Viewer (EJ2) enables marking regions or entire pages for redaction, customizing appearance, and permanently applying redaction them with a single action.
## Enable the redaction toolbar
@@ -45,49 +45,47 @@ ej.pdfviewer.PdfViewer.Inject(ej.pdfviewer.TextSelection, ej.pdfviewer.TextSearc
pdfviewer.appendTo('#PdfViewer');
```
-N> Prerequisites: Add the PdfViewer control to your JavaScript application and ensure the redaction feature is available in the version you are using. Once applied, redaction permanently removes the selected content.
+N> Add the PdfViewer control to the JavaScript application and ensure the redaction feature is included in the installed package version. Once applied, redaction permanently removes the selected content.

## Add Redaction Annotations
-You can mark specific content for redaction using the toolbar or through code.
+Mark specific content for redaction using the toolbar or programmatically.
-Select the **Redaction tool** and draw over the text or graphics you want to hide. You can also add overlay text (such as “Confidential”) and adjust the style — fill color, border color, and opacity.
+Select the **Redaction tool** and draw over text or graphics to hide. Optionally add overlay text (for example, “Confidential”) and adjust style properties: fill color, border color, and opacity.

## Delete Redaction Annotations
-Redaction annotations can be removed easily:
+Remove redaction annotations using the toolbar or keyboard shortcuts:
-- Click the **Delete** button on the toolbar, or
+- Click the **Delete** button on the toolbar, or
- Select the annotation and press the **Delete** key.

## Redact Entire Pages
-The viewer allows you to redact whole pages that contain sensitive information. You can choose specific pages, page ranges, or redact all pages using the built‑in dialog, or perform the same action programmatically.
+The viewer supports redacting entire pages that contain sensitive information. Use the built-in dialog to select specific pages, page ranges, or all pages, or invoke the same behavior programmatically.

## Apply Redaction
-Once annotations are added, you can permanently apply them to the document. This action cannot be undone.
+After adding redaction annotations, permanently apply them to the document using the **Apply Redaction** toolbar button or the corresponding API method.
-Use the **Apply Redaction** button on the toolbar or call the API method:
-
-- The button is disabled until at least one redaction annotation exists.
-- It becomes active when redaction annotations are present.
+- The **Apply Redaction** button remains disabled until at least one redaction annotation exists.
+- The button becomes enabled when redaction annotations are present.

-A confirmation dialog appears before applying redaction to ensure you acknowledge the irreversible nature of the process.
+A confirmation dialog appears before applying redaction to ensure acknowledgment of the irreversible action.

-N> After redaction is applied, the original content cannot be recovered.
+N> Applying redaction is irreversible. Once applied, the original content cannot be recovered.
## Comment Support
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/Redaction/programmatic-support.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/Redaction/programmatic-support.md
index 88b5c9196..e67255cd6 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/Redaction/programmatic-support.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/Redaction/programmatic-support.md
@@ -9,7 +9,7 @@ documentation: ug
# Programmatic support for redaction in JavaScript (ES5) PdfViewer
-The Syncfusion JavaScript PDF Viewer (EJ2) provides APIs to add, update, delete, and apply redaction annotations programmatically. You can also redact entire pages, configure default properties, and work with the redaction property panel.
+The Syncfusion JavaScript `PdfViewer` control provides APIs to add, update, delete, and apply redaction annotations programmatically. You can also redact entire pages, configure default properties, and work with the redaction property panel.
## Enable the redaction toolbar
@@ -78,7 +78,7 @@ viewer.annotationAdd = (args) => {
## Delete redaction annotations programmatically
-Redaction annotations can be removed using the `deleteAnnotationById` event or by selecting and deleting them through code.
+Redaction annotations can be removed using the `deleteAnnotationById` method or by selecting and deleting them through code.
```html
@@ -152,7 +152,7 @@ document.getElementById('redact').addEventListener('click', () => {
});
```
-N> Applying redaction is irreversible. Once applied, the original content cannot be recovered.
+N> Applying redaction is irreversible. Before calling `redact()`, save or export a backup copy of the document; the original content cannot be recovered.
## Configure default redaction annotation properties
@@ -178,7 +178,7 @@ viewer.redactionSettings= {
The redaction property panel allows users to update annotation properties through the UI. Programmatically, you can invoke the property panel by selecting an annotation and calling the relevant APIs. Properties such as overlay text, font style, and fill color can be updated directly in the panel.
-
+
## See also
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/Redaction/search-redact.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/Redaction/search-redact.md
index 3e5e867c3..3c30ff05b 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/Redaction/search-redact.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/Redaction/search-redact.md
@@ -8,19 +8,17 @@ documentation: ug
domainurl: ##DomainURL##
---
-# Search text and redact in JavaScript (ES5) PdfViewer
+# Search text and redact in JavaScript (ES5) PDF Viewer
-You can search for a keyword in the loaded PDF and automatically add redaction annotations over each match. The example below wires the extractTextCompleted event, triggers text extraction, performs a search, and places redaction annotations for every result.
+You can search for a keyword in the loaded PDF and automatically add redaction annotations over each match. The example below wires the `extractTextCompleted` event, triggers text extraction, performs a search, and places redaction annotations for every result.
-N> Prerequisites: Add the PdfViewer control to your JavaScript application and ensure a document is loaded. Make sure the redaction feature is available in the version you are using. Once applied, redaction permanently removes the selected content.
+N> Prerequisites: Add the PDF Viewer control to your JavaScript application and ensure a document is loaded. Confirm the redaction feature is available in the viewer version in use and that text extraction is enabled (`isExtractText: true`). Redaction is permanent once applied.
-## Steps to add Redaction annotations on search Text Bounds
+## Steps to add redaction annotations on search text bounds
-**Step 1:** Follow the steps provided in the [link](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/javascript-ES5/getting-started) to create a simple PDF Viewer sample.
-
-
-**Step 2:** Use the following code-snippets to Add Redaction annotation on Search Text Bounds.
+**Step 1:** Follow the steps in [PDF Viewer - Getting started](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/javascript-ES5/getting-started) to create a simple PDF Viewer sample.
+**Step 2:** Use the following code-snippets to add Redaction annotation on search text bounds.
```html
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/Redaction/toolbar.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/Redaction/toolbar.md
index 3fc4887cb..8cd5f5a08 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/Redaction/toolbar.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/Redaction/toolbar.md
@@ -9,11 +9,11 @@ documentation: ug
# Redaction toolbar customization in JavaScript
-The redaction toolbar in the Syncfusion JavaScript (ES5/JavaScript) PDF Viewer can be customized by rearranging existing items, hiding default items, or adding new ones. You can also place custom items at specific index positions among the existing toolbar items.
+The redaction toolbar in the Syncfusion JavaScript PDF Viewer can be customized by rearranging items, hiding default items, or adding custom items. Custom items can be inserted at specific index positions within the existing toolbar.
## Enable the redaction toolbar
-To enable the redaction toolbar, configure the `toolbarSettings.toolbarItems` property of the PdfViewer instance to include the **RedactionEditTool**.
+To enable the redaction toolbar, configure the `toolbarSettings.toolbarItems` property of the PdfViewer instance to include the `RedactionEditTool`.
The following example shows how to enable the redaction toolbar:
@@ -50,17 +50,17 @@ Refer to the following image for the toolbar view:
## Show or hide the redaction toolbar
-You can toggle the redaction toolbar either using the built‑in toolbar icon or programmatically with the `showRedactionToolbar` method.
+The redaction toolbar can be toggled using the built‑in toolbar icon or programmatically with the `showRedactionToolbar` method.
### Display the redaction toolbar using the toolbar icon
-When **RedactionEditTool** is included in the toolbar settings, clicking the redaction icon in the primary toolbar will show or hide the redaction toolbar.
+When `RedactionEditTool` is included in the toolbar settings, clicking the redaction icon in the primary toolbar will show or hide the redaction toolbar.

### Display the redaction toolbar programmatically
-You can also control visibility through code by calling `viewer.toolbar.showRedactionToolbar(true/false)`.
+Programmatic control is available via the viewer instance. For example, call `this.pdfViewer.toolbar.showRedactionToolbar(true)` to display the redaction toolbar, or `this.pdfViewer.toolbar.showRedactionToolbar(false)` to hide it.
The following example demonstrates toggling the redaction toolbar programmatically:
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/Redaction/ui-interaction.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/Redaction/ui-interaction.md
index d4ca4bf74..0d250a624 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/Redaction/ui-interaction.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/Redaction/ui-interaction.md
@@ -7,7 +7,7 @@ control: PDF Viewer
documentation: ug
---
-# Redaction UI interactions in JavaScript (ES5) PdfViewer
+# Redaction UI interactions in JavaScript (ES5) PDF Viewer
## Add redaction annotations from the toolbar
@@ -27,21 +27,21 @@ N> The redaction tool is hidden by default. Customize the toolbar to include it.
## Add redaction annotations using the context menu
-In addition to the toolbar, you can add redaction annotations directly from the context menu. Select the text or region, right‑click (or long‑press on mobile), and choose the **Redact Annotation** option. This creates a redaction mark over the selected content.
+In addition to the toolbar, redaction annotations can be added directly from the context menu. To add from the context menu, select the text or region, right‑click (or long‑press on mobile), and choose the **Redact Annotation** option. This creates a redaction mark over the selected content.

## Update redaction properties
-After adding a redaction annotation, you can update its properties through the property panel or programmatically.
+After adding a redaction annotation, properties can be updated through the property panel or programmatically.
### Update using the property panel
-When a redaction annotation is selected, a two‑tab property panel (General and Appearance) lets you customize text and styling. Changes are reflected instantly on the redaction mark.
+When a redaction annotation is selected, a two‑tab property panel (General and Appearance) allows customization of text and styling. Changes are reflected instantly on the redaction mark.
The property panel can be opened in two ways:
-* By clicking the **redaction property panel** icon in the toolbar.
+* By clicking the **Redaction property panel** icon in the toolbar.

* By right‑clicking (or long‑pressing) the annotation and choosing **Properties** from the context menu.
@@ -62,7 +62,7 @@ Use the General tab to define how the content will look after redaction. These s

-Note: Hovering the mouse over a redaction annotation shows a preview of this final look. After you click Apply Redaction, these settings are flattened into the page and can’t be edited. Tip: Click Save in the dialog to keep your changes.
+N> Hovering over a redaction annotation shows a preview of the final look. After Apply Redaction is selected, these settings are flattened into the page and cannot be edited. Tip: Select Save in the dialog to persist changes.
#### Appearance tab
@@ -78,12 +78,12 @@ Note: The Appearance tab affects only the temporary annotation. The final look a
### What changes after applying redaction?
-When you click Apply Redaction:
+When Apply Redaction is selected:
* The selected content is permanently removed from the page.
* The redaction region is flattened into the page with a solid fill that uses the General tab Fill Color.
* If overlay text was enabled, the text is burned into the page. If Repeat Overlay Text was enabled, the text is tiled across the region.
-* All properties become read‑only. You cannot edit overlay text, fill color, outline, or opacity after applying. Set the final look in the General tab and use the Appearance tab only to style the annotation before you apply.
+* All properties become read‑only. Overlay text, fill color, outline, and opacity cannot be edited after applying. Set the final look in the General tab and use the Appearance tab only to style the annotation before applying.
## Delete redaction annotations
@@ -108,7 +108,7 @@ Entire pages can be marked for redaction using the **Redact Pages** option in th
* **Even Pages Only** – Redacts all even‑numbered pages.
* **Specific Pages** – Enter page numbers or ranges (e.g., 1, 3–5, 7) to redact.
-After choosing the range, click **Save** to apply redaction marks to the selected pages.
+After choosing the range, select **Save** to apply redaction marks to the selected pages.

@@ -121,7 +121,7 @@ The **Apply Redaction** button permanently removes all marked content from the d

-A confirmation dialog appears before applying redaction to ensure you acknowledge the irreversible nature of the process.
+A confirmation dialog appears before applying redaction to ensure acknowledgment of the irreversible nature of the process.

diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/accessibility.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/accessibility.md
index acec186ae..890ad57d5 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/accessibility.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/accessibility.md
@@ -10,9 +10,7 @@ domainurl: ##DomainURL##
# Accessibility in Syncfusion JavaScript ES5 PDF Viewer components
-The PDF Viewer component follows established accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/), and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility.
-
-The accessibility compliance for the PDF Viewer component is summarized below.
+The PDF Viewer complies with widely adopted accessibility standards and guidance, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/), and WAI-ARIA roles. The following table summarizes the component's accessibility coverage.
| Accessibility Criteria | Compatibility |
| -- | -- |
@@ -42,7 +40,7 @@ Note: Mobile device support is marked as partial due to platform-level constrain
## WAI-ARIA attributes
-[WAI-ARIA](https://www.w3.org/WAI/ARIA/apg/patterns/alert/) (Accessibility Initiative – Accessible Rich Internet Applications) defines a way to increase the accessibility of web pages, dynamic content, and user interface components developed with Ajax, HTML, JavaScript, and related technologies. ARIA provides additional semantics to describe the role, state, and functionality of web components. The following ARIA attributes are used in the PDF Viewer component:
+[WAI-ARIA](https://www.w3.org/WAI/ARIA/apg/patterns/alert/) (Accessible Rich Internet Applications) provides semantics that improve the accessibility of dynamic web content. The following ARIA attributes are used by the PDF Viewer to expose roles, states, and relationships to assistive technologies:
| Attributes | Purpose |
| --- | --- |
@@ -62,7 +60,7 @@ Note: Mobile device support is marked as partial due to platform-level constrain
## Keyboard interaction
-The PDF Viewer component follows the [keyboard interaction](https://www.w3.org/WAI/ARIA/apg/patterns/alert/#keyboardinteraction) guideline, making it easy for people who use assistive technologies (AT) and those who rely on keyboard navigation. The following keyboard shortcuts are supported by the PDF Viewer component.
+The PDF Viewer follows WAI-ARIA [keyboard interaction](https://www.w3.org/WAI/ARIA/apg/patterns/alert/#keyboardinteraction) recommendations to support users who rely on keyboard navigation and assistive technologies. The following keyboard shortcuts are supported.
| **Press (Windows)** |**Press (Macintosh)** | **To do this** |
| --- | --- | --- |
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-event.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-event.md
index 0a732025b..fc1f3ff1b 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-event.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-event.md
@@ -7,9 +7,9 @@ documentation: ug
domainurl: ##DomainURL##
---
-# Annotations Events in JavaScript Pdf viewer control
+# Annotation events in JavaScript PDF Viewer
-The PDF Viewer component triggers various events based on user interactions and changes in the component's state. These events can be used to perform actions when a specific event occurs. This section describes the events available in the PDF Viewer component.
+This page documents annotation-related events for the JavaScript PDF Viewer and when to use them. The PDF Viewer triggers events for user interactions and component state changes; use these events to run handlers that respond to specific occurrences. The sections below list each event, the associated event-args type, and an example handler.
| Event | Description |
| ------------------------------------------------------------------ | ---------------------------------------------------------------------------------- |
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-permission.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-permission.md
index 86e3b1cc9..cfec1cb86 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-permission.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-permission.md
@@ -10,13 +10,15 @@ domainurl: ##DomainURL##
# Annotation permissions in JavaScript PDF Viewer
-Use [annotationSettings](https://ej2.syncfusion.com/documentation/api/pdfviewer/index-default#annotationsettings) to control creation-time permissions and behavior of annotations in the PDF Viewer.
+Use [annotationSettings](https://ej2.syncfusion.com/javascript/documentation/api/pdfviewer/index-default#annotationsettings) to control creation-time permissions and default behavior for annotations in the PDF Viewer. These settings establish defaults for annotations created through the UI and programmatic flows.
## Common permissions
-- isLock: Locks the annotation so it cannot be moved, resized, edited, or deleted.
-- skipPrint: Excludes annotations from the print output when the document is printed from the viewer.
-- skipDownload: Excludes annotations from the exported/downloaded document.
+- `isLock`: Lock an annotation so it cannot be moved, resized, edited, or deleted.
+- `skipPrint`: Exclude annotations from the print output when printing from the viewer.
+- `skipDownload`: Exclude annotations from the exported/downloaded PDF.
+
+Example: inject modules and create a viewer instance with default `annotationSettings`.
```js
// Ensure you have included the required EJ2 PDF Viewer scripts and styles via CDN before this script
@@ -61,8 +63,10 @@ viewer.appendTo('#pdfViewer');
## Individual permissions
-- isPrint: Controls whether a specific annotation participates in printing. Set to false to prevent just that annotation from printing.
-- isLock: You can also lock/unlock a specific annotation instance programmatically.
+- `isPrint`: Controls whether a specific annotation participates in printing. Set to `false` to exclude only that annotation from print output.
+- `isLock`: Lock or unlock a specific annotation instance programmatically.
+
+Example: create a viewer instance with per-annotation defaults for text markup, shapes, and measurements.
```js
// Ensure you have included the required EJ2 PDF Viewer scripts and styles via CDN before this script
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/Squiggly-annotation.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/Squiggly-annotation.md
index 43ba1a4f5..25b6ced6f 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/Squiggly-annotation.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/Squiggly-annotation.md
@@ -27,18 +27,18 @@ You can add squiggly annotations in two ways:

2. Using the annotation toolbar
-* Click the **Edit Annotation** button in the PDF Viewer toolbar to open the annotation toolbar.
-* Select **Squiggly** to enable squiggly mode.
-* Select text to add the squiggly annotation.
-* Alternatively, select text first and then click **Squiggly**.
+- Click the **Edit Annotation** button in the PDF Viewer toolbar to open the annotation toolbar.
+- Select **Squiggly** to enable squiggly mode.
+- Select text to add a squiggly annotation.
+- Alternatively, select text first and then click **Squiggly**.

N> When in pan mode, selecting a text markup annotation switches the PDF Viewer to text select mode.
-### Enable Squiggly Mode
+### Enable squiggly mode
-Enable/exit squiggly mode using the following code:
+Enable or exit squiggly mode using the following code:
```html
@@ -107,7 +107,7 @@ document.getElementById('setNone').addEventListener('click', function () {
{% endhighlight %}
{% endtabs %}
-### Add squiggly annotation programmatically
+### Add squiggly annotations programmatically
Add squiggly annotations programmatically using the [addAnnotation](https://ej2.syncfusion.com/documentation/api/pdfviewer/annotation#addannotation) method.
@@ -175,11 +175,11 @@ document.getElementById('addSquiggly').addEventListener('click', function () {
{% endhighlight %}
{% endtabs %}
-## Edit Squiggly Annotation
+## Edit Squiggly Annotations
-### Edit squiggly annotation in UI
+### Edit squiggly annotations in UI
-You can select and delete squiggly annotations directly in the viewer. Use the context menu or toolbar options as needed.
+Use the viewer to select and delete squiggly annotations. Use the context menu or toolbar options as needed.
Delete the selected annotation in the following ways:
@@ -195,7 +195,7 @@ Delete the selected annotation in the following ways:
#### Edit squiggly annotation properties in UI
-The color and opacity of the squiggly annotation can be edited using the Edit Color and Edit Opacity tools in the annotation toolbar.
+The color and opacity of squiggly annotations can be edited using the Edit Color and Edit Opacity tools in the annotation toolbar.
- Edit color: Use the color palette in the Edit Color tool to change the annotation color.
@@ -286,7 +286,7 @@ document.getElementById('editSquiggly').addEventListener('click', function () {
Set default properties before creating the control using `squigglySettings`.
-> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
+N> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
{% tabs %}
{% highlight js tabtitle="Standalone" %}
@@ -332,11 +332,11 @@ pdfviewer.appendTo('#PdfViewer');
## Set properties while adding Individual Annotation
-Set properties for individual annotation before creating the control using `SquigglySettings`.
+Set properties for individual annotations before creating the control using `SquigglySettings`.
-> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
+N> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
-Refer to the following code snippet to set the default highlight settings.
+Refer to the following code snippet to set the default squiggly settings.
```html
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/area-annotation.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/area-annotation.md
index 92424415c..36b76702f 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/area-annotation.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/area-annotation.md
@@ -18,7 +18,7 @@ Area is a measurement annotation used to measure the surface of a closed region
### Add area annotation via UI
-Use the annotation toolbar:
+- Use the annotation toolbar to:
- Click the **Edit Annotation** button in the PDF Viewer toolbar.
- Click the **Measurement Annotation** dropdown.
- Choose **Area**, then draw the region on the page.
@@ -348,9 +348,9 @@ pdfviewer.appendTo('#PdfViewer');
## Set properties while adding Individual Annotation
-Set properties for individual annotation before creating the control using `AreaSettings`.
+Set properties for individual annotations before creating the control using `AreaSettings`.
-> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
+N> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
Refer to the following code snippet to set the default Area settings.
@@ -434,7 +434,7 @@ The scale ratio and unit of measurement can be modified using the scale ratio op

-The Units of measurements support for the measurement annotations in the PDF Viewer are
+Supported units for measurement annotations are
* Inch
* Millimeter
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/arrow-annotation.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/arrow-annotation.md
index c8016a52a..a030fc3f8 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/arrow-annotation.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/arrow-annotation.md
@@ -18,9 +18,9 @@ Arrow is a shape annotation used to point, direct attention, or indicate flow. C
### Add arrow annotation via UI
-Use the annotation toolbar:
+Use the annotation toolbar to:
- Click the **Edit Annotation** button in the PDF Viewer toolbar.
-- Open the **Shape Annotation**** dropdown.
+- Open the **Shape Annotation** dropdown.
- Choose **Arrow**, then draw on the page.
N> When in pan mode, selecting a shape annotation switches the viewer to text select mode.
@@ -335,9 +335,9 @@ pdfviewer.appendTo('#PdfViewer');
## Set properties while adding Individual Annotation
-Set properties for individual annotation before creating the control using `ArrowSettings`.
+Set properties for individual annotations before creating the control using `ArrowSettings`.
-> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
+N> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
Refer to the following code snippet to set the default arrow settings.
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/circle-annotation.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/circle-annotation.md
index 4e1a6d8aa..e6a32dccc 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/circle-annotation.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/circle-annotation.md
@@ -18,7 +18,7 @@ Circle is a shape annotation used to highlight circular regions or draw emphasis
### Add circle annotation via UI
-Use the annotation toolbar:
+Use the annotation toolbar to:
- Click the **Edit Annotation** button in the PDF Viewer toolbar.
- Open the **Shape Annotation** dropdown.
- Choose **Circle**, then draw on the page.
@@ -29,7 +29,7 @@ N> When in pan mode, selecting a shape annotation switches the viewer to text se
### Enable circle mode
-The PDF Viewer library allows drawing Circle annotations programmatically after enabling Circle mode in button clicks.
+The PDF Viewer library allows drawing circle annotations programmatically after enabling circle mode via button clicks.
```html
@@ -350,9 +350,9 @@ pdfviewer.appendTo('#PdfViewer');
## Set properties while adding Individual Annotation
-Set properties for individual annotation before creating the control using `CircleSettings`.
+Set properties for individual annotations before creating the control using `CircleSettings`.
-> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
+N> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
Refer to the following code snippet to set the default Circle settings.
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/distance-annotation.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/distance-annotation.md
index c123d3b8e..91ce8d7d2 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/distance-annotation.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/distance-annotation.md
@@ -18,7 +18,7 @@ Distance is a measurement annotation used to measure the length between two poin
### Add distance annotation via UI
-Use the annotation toolbar:
+Use the annotation toolbar to:
- Click the **Edit Annotation** button in the PDF Viewer toolbar.
- Open the **Measurement Annotation** dropdown.
- Choose **Distance**, then draw on the page.
@@ -29,7 +29,7 @@ N> When in pan mode, selecting a measurement annotation switches the viewer to t
### Enable distance mode
-The PDF Viewer component allows drawing Distance annotations programmatically after enabling Distance mode in button clicks.
+The PDF Viewer component allows drawing distance annotations programmatically after enabling distance mode via button clicks.
```html
@@ -181,7 +181,7 @@ You can select, move, and resize Distance annotations directly in the viewer:
- Resize: drag the end handles to adjust its length.
- Delete or access more options from the context menu.
-#### Edit the properties of area annotations
+#### Edit the properties of distance annotations
The fill color, stroke color, thickness, and opacity can be edited using the Edit Color, Edit Stroke Color, Edit Thickness, and Edit Opacity tools in the annotation toolbar.
@@ -337,9 +337,9 @@ pdfviewer.appendTo('#PdfViewer');
## Set properties while adding Individual Annotation
-Set properties for individual annotation before creating the control using `DistanceSettings`.
+Set properties for individual annotations before creating the control using `DistanceSettings`.
-> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
+N> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
Refer to the following code snippet to set the default Distance settings.
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/free-text-annotation.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/free-text-annotation.md
index e5bc79d25..53aad96fd 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/free-text-annotation.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/free-text-annotation.md
@@ -18,18 +18,18 @@ Free Text is a text box annotation used to place formatted text anywhere on the
### Add Free Text annotation via UI
-Use the annotation toolbar:
+Use the annotation toolbar to:
- Click the **Edit Annotation** button in the PDF Viewer toolbar.
- Click the **Free Text Annotation** button to enable Free Text mode.
- Click on the page to add text.
-When in pan mode, selecting Free Text switches the viewer to text select mode.
+N> When in pan mode, selecting Free Text switches the viewer to text select mode.

### Switch to Free Text mode
-The PDF Viewer component allows drawing Distance annotations programmatically after enabling Distance mode in button clicks.
+The PDF Viewer component allows drawing free text annotations programmatically after enabling Free Text mode via button clicks.
```html
@@ -374,9 +374,9 @@ pdfviewer.appendTo('#PdfViewer');
## Set properties while adding Individual Annotation
-Set properties for individual annotation before creating the control using `FreeTextSettings`.
+Set properties for individual annotations before creating the control using `FreeTextSettings`.
-> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
+N> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
Refer to the following code snippet to set the default FreeText settings.
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/highlight-annotation.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/highlight-annotation.md
index 4c6b044e6..a16dda9b5 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/highlight-annotation.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/highlight-annotation.md
@@ -18,7 +18,7 @@ The PDF Viewer provides options to add, edit, and delete Highlight annotations o
### Add highlight annotation via UI
-You can add highlights in two ways:
+Add highlights in two ways:
1. Using the context menu
- Select text in the PDF document and right-click it.
@@ -27,9 +27,10 @@ You can add highlights in two ways:

2. Using the annotation toolbar
+Use the annotation toolbar to:
- Click the **Edit Annotation** button in the PDF Viewer toolbar to open the annotation toolbar.
- Select **Highlight** to enable highlight mode.
-- Select text to add the highlight annotation. Alternatively, select text first and then click **Highlight**.
+- Select text to add the highlight annotation, or select text first and then click **Highlight**.

@@ -37,7 +38,7 @@ N> When pan mode is active and a text markup mode is entered, the PDF Viewer swi
### Switch to Highlight Mode
-The PDF Viewer component allows add highlight annotations programmatically after enabling Highlight mode in button clicks.
+The PDF Viewer component allows adding highlight annotations programmatically after enabling Highlight mode via button clicks.
```html
@@ -187,7 +188,7 @@ document.getElementById('highlight').addEventListener('click', function () {
### Edit highlight annotation in UI
-You can select a highlight to change its appearance or remove it:
+Select a highlight to change its appearance or remove it:
- Change appearance using the annotation toolbar: Edit Color and Edit Opacity.
- Delete using Delete/Backspace keys or the Delete Annotation button in the annotation toolbar.
@@ -288,7 +289,7 @@ document.getElementById('editHighlight').addEventListener('click', function () {
Set default properties before creating the control using `highlightSettings`.
-> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
+N> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
Refer to the following code snippet to set the default highlight settings.
@@ -335,9 +336,9 @@ pdfviewer.appendTo('#PdfViewer');
## Set properties while adding Individual Annotation
-Set properties for individual annotation before creating the control using `highlightSettings`.
+Set properties for individual annotations before creating the control using `highlightSettings`.
-> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
+N> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
Refer to the following code snippet to set the default highlight settings.
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/ink-annotation.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/ink-annotation.md
index 1629a8758..93c8926fe 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/ink-annotation.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/ink-annotation.md
@@ -18,16 +18,16 @@ Ink is a freehand drawing annotation used to sketch, sign, or mark up content.
### Add ink annotation via UI
-Use the annotation toolbar:
-- Click the Edit Annotation button in the PDF Viewer toolbar.
-- Click the Draw Ink button to enable ink mode.
+Use the annotation toolbar to:
+- Click the **Edit Annotation** button in the PDF Viewer toolbar.
+- Click the **Draw Ink** button to enable ink mode.
- Draw on any page of the PDF document.

### Enable ink mode
-The PDF Viewer component allows add ink annotations programmatically after enabling ink mode in button clicks.
+The PDF Viewer component allows adding ink annotations programmatically after enabling ink mode via button clicks.
```html
@@ -157,7 +157,7 @@ document.getElementById('addInkAnnotationProgram').addEventListener('click', fun
### Edit ink annotation in UI
-You can select, move, and resize Ink annotations directly in the viewer:
+Select, move, and resize ink annotations directly in the viewer:
- Select an Ink annotation to show its handles.
- Move: drag inside the stroke to reposition it on the page.
- Resize: drag the selector handles to adjust its bounds.
@@ -323,9 +323,9 @@ pdfviewer.appendTo('#PdfViewer');
## Set properties while adding Individual Annotation
-Set properties for individual annotation before creating the control using `InkSettings`.
+Set properties for individual annotations before creating the control using `InkSettings`.
-> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
+N> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
Refer to the following code snippet to set the default Ink settings.
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/line-annotation.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/line-annotation.md
index e28beb5ff..636bfa3f2 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/line-annotation.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/line-annotation.md
@@ -18,7 +18,7 @@ Line is a shape annotation used to mark straight connections or callouts. Common
### Add line annotation via UI
-Use the annotation toolbar:
+Use the annotation toolbar to:
- Click the **Edit Annotation** button in the PDF Viewer toolbar.
- Open the **Shape Annotation** dropdown.
- Choose **Line**, then draw on the page.
@@ -29,7 +29,7 @@ N> When in pan mode, selecting a shape annotation switches the viewer to text se
### Enable line mode
-The PDF Viewer component allows to add line annotations programmatically after enabling line mode in button clicks.
+The PDF Viewer component allows adding line annotations programmatically after enabling line mode via button clicks.
```html
@@ -175,8 +175,8 @@ document.getElementById('addLineAnnotation').addEventListener('click', function(
### Edit Line Annotation in UI
-You can select, move, and resize Line annotations directly in the viewer:
-- Select a Line to show its end-point handles.
+Select, move, and resize line annotations directly in the viewer:
+- Select a line to show its end-point handles.
- Move: drag the line to reposition it on the page.
- Resize/reshape: drag either end-point to adjust the line.
- Delete or access more options from the context menu.
@@ -348,13 +348,13 @@ pdfviewer.appendTo('#PdfViewer');
{% endhighlight %}
{% endtabs %}
-N> In both [Arrow](https://ej2.syncfusion.com/documentation/api/pdfviewer/index-default#arrowsettings) and [Line](https://ej2.syncfusion.com/documentation/api/pdfviewer/index-default#linesettings) annotations Settings, the Fill Color option is available only when an arrowhead style is applied at the Start or End. If both Start and End arrowhead styles are set to None, lines do not support fill rendering and the Fill Color option remains disabled.
+N> In both [Arrow](https://ej2.syncfusion.com/documentation/api/pdfviewer/index-default#arrowsettings) and [Line](https://ej2.syncfusion.com/documentation/api/pdfviewer/index-default#linesettings) annotation settings, the Fill Color option is available only when an arrowhead style is applied at the Start or End. If both Start and End arrowhead styles are set to None, lines do not support fill rendering and the Fill Color option remains disabled.
## Set properties while adding Individual Annotation
-Set properties for individual annotation before creating the control using `lineSettings`.
+Set properties for individual annotations before creating the control using `lineSettings`.
-> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
+N> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
Refer to the following code snippet to set the default line settings.
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/perimeter-annotation.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/perimeter-annotation.md
index 15afc5e1e..f3f0297d0 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/perimeter-annotation.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/perimeter-annotation.md
@@ -18,18 +18,18 @@ Perimeter is a measurement annotation used to measure the length around a closed
### Add perimeter annotation via UI
-Use the annotation toolbar:
-- Click the Edit Annotation button in the PDF Viewer toolbar.
-- Click the Measurement Annotation dropdown.
-- Choose Perimeter, then draw the polyline on the page.
+Use the annotation toolbar to:
+- Click the **Edit Annotation** button in the PDF Viewer toolbar.
+- Open the **Measurement Annotation** dropdown.
+- Choose **Perimeter**, then draw the polyline on the page.
-N> When in pan mode, selecting a measurement annotation switches the viewer to text select mode.
+N> When in pan mode, selecting measurement annotations switches the viewer to text select mode.

### Enable perimeter mode
-The PDF Viewer library allows drawing measurement annotations programmatically after enabling perimeter mode in button clicks.
+The PDF Viewer library allows drawing perimeter annotations programmatically after enabling perimeter mode via button clicks.
```html
@@ -95,7 +95,7 @@ if (perimeterBtn) {
### Add a perimeter annotation programmatically
-The PDF Viewer library allows adding measurement annotations programmatically using the [addAnnotation()](https://ej2.syncfusion.com/documentation/api/pdfviewer/annotation#annotation) method.
+The PDF Viewer library allows adding perimeter annotations programmatically using the [addAnnotation()](https://ej2.syncfusion.com/documentation/api/pdfviewer/annotation#annotation) method.
```html
@@ -181,7 +181,7 @@ if (addBtn) {
### Edit perimeter annotation in UI
-You can select, move, and resize Perimeter annotations directly in the viewer:
+Use the viewer to select, move, and resize Perimeter annotations:
- Select a Perimeter to show its vertex handles.
- Move: drag inside the shape to reposition it on the page.
- Resize/reshape: drag any vertex handle to adjust the polyline points and size.
@@ -363,9 +363,9 @@ pdfviewer.appendTo('#PdfViewer');
## Set properties while adding Individual Annotation
-Set properties for individual annotation before creating the control using `PerimeterSettings`.
+Set properties for individual annotations before creating the control using `PerimeterSettings`.
-> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
+N> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
Refer to the following code snippet to set the default Perimeter settings.
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/polygon-annotation.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/polygon-annotation.md
index bdedea053..469178bb3 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/polygon-annotation.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/polygon-annotation.md
@@ -18,18 +18,18 @@ Polygon is a shape annotation used to outline irregular regions, highlight areas
### Add polygon annotation via UI
-Use the annotation toolbar:
-- Click the Edit Annotation button in the PDF Viewer toolbar.
-- Open the Shape Annotation dropdown.
-- Choose Polygon, then draw on the page.
+Use the annotation toolbar to:
+- Click the **Edit Annotation** button in the PDF Viewer toolbar.
+- Open the **Shape Annotation** dropdown.
+- Choose **Polygon**, then draw on the page.
-N> When in pan mode, selecting a shape annotation switches the viewer to text select mode.
+N> When in pan mode, selecting shape annotations switches the viewer to text select mode.

### Enable polygon mode
-The PDF Viewer library allows drawing shape annotations programmatically after enabling polygon mode in button clicks.
+The PDF Viewer library allows drawing polygon annotations programmatically after enabling polygon mode via button clicks.
```html
@@ -179,18 +179,18 @@ document.getElementById('addPolygonAnnotation') && document.getElementById('addP
### Edit Polygon Annotation in UI
-You can select, move, and resize Polygon annotations directly in the viewer:
+Use the viewer to select, move, and resize Polygon annotations:
- Select a Polygon to show its vertex handles.
- Move: drag inside the shape to reposition it on the page.
- Resize/reshape: drag any vertex handle to adjust the polygon points and size.
- Delete or access more options from the context menu.
Use the toolbar to change appearance:
-- Edit Color, Edit Stroke Color, Edit Thickness, and Edit Opacity tools.
+- Use the Edit Color, Edit Stroke Color, Edit Thickness, and Edit Opacity tools.
See the sections below for details.
-#### Edit the properties of area annotations
+#### Edit the properties of polygon annotations
The fill color, stroke color, thickness, and opacity can be edited using the Edit Color, Edit Stroke Color, Edit Thickness, and Edit Opacity tools in the annotation toolbar.
@@ -348,9 +348,9 @@ pdfviewer.appendTo('#PdfViewer');
## Set properties while adding Individual Annotation
-Set properties for individual annotation before creating the control using `PolygonSettings`.
+Set properties for individual annotations before creating the control using `PolygonSettings`.
-> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
+N> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
Refer to the following code snippet to set the default Polygon settings.
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/radius-annotation.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/radius-annotation.md
index a821ed0eb..9322791d7 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/radius-annotation.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/radius-annotation.md
@@ -18,18 +18,18 @@ Radius is a measurement annotation used to measure the radius of a circle in the
### Add radius annotation via UI
-Use the annotation toolbar:
-- Click the Edit Annotation button in the PDF Viewer toolbar.
-- Open the Measurement Annotation dropdown.
-- Choose Radius, then draw on the page.
+Use the annotation toolbar to:
+- Click the **Edit Annotation** button in the PDF Viewer toolbar.
+- Open the **Measurement Annotation** dropdown.
+- Choose **Radius**, then draw on the page.
-N> When in pan mode, selecting a measurement annotation switches the viewer to text select mode.
+N> When in pan mode, selecting measurement annotations switches the viewer to text select mode.

### Enable radius mode
-The PDF Viewer component allows drawing Radius annotations programmatically after enabling Radius mode in button clicks.
+The PDF Viewer component allows drawing radius annotations programmatically after enabling radius mode via button clicks.
```html
@@ -104,7 +104,7 @@ document.getElementById('setNone').addEventListener('click', function() {
### Add a radius annotation programmatically
-Add measurement annotations programmatically using the [addAnnotation()](https://ej2.syncfusion.com/documentation/api/pdfviewer/annotation#annotation) method.
+Add radius annotations programmatically using the [addAnnotation()](https://ej2.syncfusion.com/documentation/api/pdfviewer/annotation#annotation) method.
```html
@@ -177,7 +177,7 @@ document.getElementById('addRadiusAnnotation').addEventListener('click', functio
### Edit radius annotation in UI
-You can select, move, and resize Radius annotations directly in the viewer:
+Use the viewer to select, move, and resize Radius annotations:
- Select a Radius measurement to show its handles.
- Move: drag the shape to reposition it on the page.
- Resize: drag the handles to adjust its size.
@@ -339,9 +339,9 @@ pdfviewer.appendTo('#PdfViewer');
## Set properties while adding Individual Annotation
-Set properties for individual annotation before creating the control using `RadiusSettings`.
+Set properties for individual annotations before creating the control using `RadiusSettings`.
-> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
+N> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
Refer to the following code snippet to set the default Radius settings.
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/rectangle-annotation.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/rectangle-annotation.md
index 5e278c37f..cde1e1489 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/rectangle-annotation.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/rectangle-annotation.md
@@ -18,10 +18,10 @@ Rectangle is a shape annotation used to highlight regions, group content, or dra
### Add rectangle annotation via UI
-Use the annotation toolbar:
-- Click the Edit Annotation button in the PDF Viewer toolbar.
-- Open the Shape Annotation dropdown.
-- Choose Rectangle, then draw on the page.
+Use the annotation toolbar to:
+- Click the **Edit Annotation** button in the PDF Viewer toolbar.
+- Open the **Shape Annotation** dropdown.
+- Choose **Rectangle**, then draw on the page.
N> When pan mode is active and a shape tool is selected, the viewer switches to text select mode automatically.
@@ -29,7 +29,7 @@ N> When pan mode is active and a shape tool is selected, the viewer switches to
### Enable rectangle mode
-The PDF Viewer library allows drawing shape annotations programmatically after enabling rectangle mode in button clicks.
+The PDF Viewer library allows drawing rectangle annotations programmatically after enabling rectangle mode via button clicks.
```html
@@ -104,7 +104,7 @@ document.getElementById('setNone') && document.getElementById('setNone').addEven
### Add a rectangle annotation programmatically
-Use the addAnnotation method with Rectangle settings to add a rectangle annotation programmatically.
+Use the `addAnnotation` method to add rectangle annotations programmatically.
```html
@@ -177,16 +177,16 @@ document.getElementById('addRectangleAnnotation') && document.getElementById('ad
### Edit Rectangle Annotation in UI
-You can select, move, and resize Rectangle annotations directly in the viewer:
+Use the viewer to select, move, and resize Rectangle annotations:
- Select a Rectangle to show its resize handles.
- Move: drag inside the shape to reposition it on the page.
- Resize: drag any corner or side handle to adjust size.
- Delete or access more options from the context menu.
Use the toolbar to change appearance:
-- Edit Color, Edit Stroke Color, Edit Thickness, and Edit Opacity tools.
+- Use the Edit Color, Edit Stroke Color, Edit Thickness, and Edit Opacity tools.
-#### Edit the properties of area annotations
+#### Edit the properties of rectangle annotations
The fill color, stroke color, thickness, and opacity can be edited using the Edit Color, Edit Stroke Color, Edit Thickness, and Edit Opacity tools in the annotation toolbar.
@@ -344,9 +344,9 @@ pdfviewer.appendTo('#PdfViewer');
## Set properties while adding Individual Annotation
-Set properties for individual annotation before creating the control using `RectangleSettings`.
+Set properties for individual annotations before creating the control using `RectangleSettings`.
-> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
+N> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
Refer to the following code snippet to set the default rectangle settings.
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/redaction-annotation.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/redaction-annotation.md
index 8007801ea..c755640a2 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/redaction-annotation.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/redaction-annotation.md
@@ -16,9 +16,9 @@ Redaction annotations permanently remove sensitive content from a PDF. You can d
## Add Redaction Annotation
-### Add redaction annotation in UI
+### Add redaction annotations in UI
-- Use the Redaction tool from the toolbar to draw over content to hide.
+- Use the Redaction tool from the toolbar to draw over content to hide it.
- Redaction marks can show overlay text (for example, "Confidential") and can be styled.

@@ -29,15 +29,15 @@ Redaction annotations are interactive:
- Resizable

-You can also add redaction from the context menu by selecting content and choosing Redact Annotation.
+You can also add redaction annotations from the context menu by selecting content and choosing Redact Annotation.

-N> Ensure the Redaction tool is included in the toolbar. See [RedactionToolbar](../../Redaction/toolbar.md)for configuration.
+N> Ensure the Redaction tool is included in the toolbar. See [RedactionToolbar](../../Redaction/toolbar.md) for configuration.
-### Add a redaction annotation programmatically
+### Add redaction annotations programmatically
-Use the addAnnotation method with the Redaction type.
+Use the `addAnnotation` method with the Redaction type to add redaction annotations programmatically.
```html
@@ -67,11 +67,11 @@ viewer.annotationAdd = (args) => {
};
```
-## Edit Redaction Annotation
+## Edit Redaction Annotations
-### Edit redaction annotation in UI
+### Edit redaction annotations in UI
-You can select, move, and resize Redaction annotations directly in the viewer. Use the context menu for additional actions.
+Use the viewer to select, move, and resize Redaction annotations. Use the context menu for additional actions.
#### Edit the properties of redaction annotations in UI
@@ -80,7 +80,7 @@ Use the property panel or context menu Properties to change overlay text, font,


-### Edit a redaction annotation programmatically
+### Edit redaction annotations programmatically
Use editAnnotation to modify overlay text, colors, fonts, etc.
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/stamp-annotation.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/stamp-annotation.md
index 24062226a..a978f3034 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/stamp-annotation.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/stamp-annotation.md
@@ -21,11 +21,11 @@ The PDF Viewer control provides options to add, edit, delete, and rotate the fol
## Add Stamp Annotation
-### Add Stamp Annotation in UI
+### Add Stamp annotations in UI
-Use the annotation toolbar:
-- Click the Edit Annotation button.
-- Open the Stamp Annotation dropdown.
+Use the annotation toolbar to:
+- Click the **Edit Annotation** button.
+- Open the **Stamp Annotation** dropdown.

- Choose a stamp type and place it on the page.

@@ -99,9 +99,9 @@ document.getElementById('standardBusinessStamp') && document.getElementById('sta
{% endhighlight %}
{% endtabs %}
-### Add Stamp Annotation programmatically
+### Add Stamp annotations programmatically
-Create stamps via addAnnotation.
+Create stamps programmatically using the `addAnnotation` method.
```html
@@ -183,9 +183,9 @@ document.getElementById('addCustom') && document.getElementById('addCustom').add
## Edit Stamp Annotation
-### Edit Stamp Annotation in UI
+### Edit Stamp annotations in UI
-You can select, move, resize, rotate, and delete Stamp annotations directly in the viewer:
+Use the viewer to select, move, resize, rotate, and delete Stamp annotations:
- Select a Stamp to show its resize and rotation handles.
- Move: drag inside the stamp to reposition it on the page.
- Resize: drag any corner or side handle to adjust the size.
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/sticky-notes-annotation.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/sticky-notes-annotation.md
index f35f0ff36..d2a64aa1b 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/sticky-notes-annotation.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/sticky-notes-annotation.md
@@ -14,26 +14,26 @@ Sticky Notes are comment annotations used to leave notes, replies, and review st

-## Add Annotation
+## Add annotations
-### Add Annotation in UI
+### Add annotations in UI
-Use the Comments tool:
+Use the Comments tool to:
- Click the Comments button in the PDF Viewer toolbar.
- Click on the page where the sticky note should be added.
- The sticky note icon is placed at the clicked position.

-Add and manage comments using the comment panel:
+Use the comment panel to add and manage comments:
- Select a sticky note, right‑click, and choose Comment.
- Add comments, replies, and statuses in the panel.

-### Add Annotation programmatically
+### Add annotations programmatically
-Use addAnnotation to programmatically create a sticky note.
+Use the `addAnnotation` method to programmatically create sticky note annotations.
```html
@@ -102,11 +102,11 @@ document.getElementById('stickyNote').addEventListener('click', function () {
{% endhighlight %}
{% endtabs %}
-## Edit Annotation
+## Edit annotations
-### Edit Annotation in UI
+### Edit annotations in UI
-You can select and manage sticky notes directly in the viewer:
+Use the viewer to select and manage sticky notes:
- Select: click the sticky note icon to focus it and show context actions.
- Move: drag the icon to reposition on the page.
- Delete or more options: use the context menu on the selected note.
@@ -132,9 +132,9 @@ Modify or delete comments or replies, and change status using the menu options i

-### Edit Annotation programmatically
+### Edit annotations programmatically
-Use editAnnotation to update an existing note's bounds.
+Use `editAnnotation` to update an existing note's bounds.
```html
@@ -264,9 +264,9 @@ pdfviewer.appendTo('#PdfViewer');
## Set properties while adding Individual Annotation
-Set properties for individual annotation before creating the control using `StickyNotesSettings`.
+Set properties for individual annotations before creating the control using `StickyNotesSettings`.
-> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
+N> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
Refer to the following code snippet to set the default StickyNotes settings.
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/strikethrough-annotation.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/strikethrough-annotation.md
index b9925d52c..d346dadd9 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/strikethrough-annotation.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/strikethrough-annotation.md
@@ -14,9 +14,9 @@ The PDF Viewer provides options to add, edit, and delete Strikethrough annotatio

-## Add strikethrough annotation
+## Add strikethrough annotations
-### Add strikethrough annotation via UI
+### Add strikethrough annotations via UI
You can add strikethrough in two ways:
@@ -28,10 +28,10 @@ You can add strikethrough in two ways:
2. Using the annotation toolbar
-* Click the **Edit Annotation** button in the PDF Viewer toolbar to open the annotation toolbar.
-* Select **Strikethrough** to enable strikethrough mode.
-* Select text to add the strikethrough annotation.
-* Alternatively, select text first and then click **Strikethrough**.
+- Click the **Edit Annotation** button in the PDF Viewer toolbar to open the annotation toolbar.
+- Select **Strikethrough** to enable strikethrough mode.
+- Select text to add a strikethrough annotation.
+- Alternatively, select text first and then click **Strikethrough**.

@@ -169,9 +169,9 @@ Add the below `serviceUrl` in the `index.js` file
{% previewsample "/document-processing/code-snippet/pdfviewer/javascript-es6/text-markup-annotation/strikethrough-normal-mode-cs1" %}
-### Add strikethrough annotation programmatically
+### Add strikethrough annotations programmatically
-Programmatically add strikethrough using the [addAnnotation](https://ej2.syncfusion.com/documentation/api/pdfviewer/annotation#addannotation) method.
+Programmatically add strikethrough annotations using the [addAnnotation](https://ej2.syncfusion.com/documentation/api/pdfviewer/annotation#addannotation) method.
Example:
@@ -246,11 +246,11 @@ if (strikethrough) {
{% endhighlight %}
{% endtabs %}
-## Edit strikethrough annotation
+## Edit strikethrough annotations
-### Edit strikethrough annotation in UI
+### Edit strikethrough annotations in UI
-The color and opacity of the strikethrough annotation can be edited using the Edit Color and Edit Opacity tools in the annotation toolbar.
+The color and opacity of strikethrough annotations can be edited using the Edit Color and Edit Opacity tools in the annotation toolbar.
#### Edit color
Use the color palette in the Edit Color tool to change the annotation color.
@@ -262,7 +262,7 @@ Use the range slider in the Edit Opacity tool to change annotation opacity.

-#### Delete strikethrough annotation
+#### Delete strikethrough annotations
- Select the annotation and press Delete, or
- Click **Delete Annotation** in the annotation toolbar.
@@ -271,11 +271,11 @@ Use the range slider in the Edit Opacity tool to change annotation opacity.
#### Edit strikethrough annotation properties
-The color and opacity of the strikethrough annotation can be edited using the Edit Color and Edit Opacity tools in the annotation toolbar.
+The color and opacity of strikethrough annotations can be edited using the Edit Color and Edit Opacity tools in the annotation toolbar.
-### Edit an existing strikethrough annotation programmatically
+### Edit existing strikethrough annotations programmatically
-To modify an existing strikethrough annotation programmatically, use the editAnnotation() method. Example:
+To modify existing strikethrough annotations programmatically, use the `editAnnotation()` method. Example:
```html
@@ -361,7 +361,7 @@ if (editStrikethroughAnnotation) {
Set default properties before creating the control using `strikethroughSettings`.
-> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
+N> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
Refer to the following code snippet to set the default strikethrough settings.
@@ -408,9 +408,9 @@ pdfviewer.appendTo('#PdfViewer');
## Set properties while adding Individual Annotation
-Set properties for individual annotation before creating the control using `StrikethroughSettings`.
+Set properties for individual annotations before creating the control using `StrikethroughSettings`.
-> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
+N> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
Refer to the following code snippet to set the default highlight settings.
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/underline-annotation.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/underline-annotation.md
index fee995225..23bdecfd7 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/underline-annotation.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/underline-annotation.md
@@ -14,9 +14,9 @@ The PDF Viewer provides options to add, edit, and delete Underline annotations o

-## Add underline annotation
+## Add underline annotations
-### Add underline annotation via UI
+### Add underline annotations via UI
You can add underlines in two ways:
@@ -28,10 +28,10 @@ You can add underlines in two ways:
2. Using the annotation toolbar
-* Click the **Edit Annotation** button in the PDF Viewer toolbar to open the annotation toolbar.
-* Select **Underline** to enable underline mode.
-* Select text to add the underline annotation.
-* Alternatively, select text first and then click **Underline**.
+- Click the **Edit Annotation** button in the PDF Viewer toolbar to open the annotation toolbar.
+- Select **Underline** to enable underline mode.
+- Select text to add an underline annotation.
+- Alternatively, select text first and then click **Underline**.

@@ -169,9 +169,9 @@ Add the below `serviceUrl` in the `index.js` file
{% previewsample "/document-processing/code-snippet/pdfviewer/javascript-es6/text-markup-annotation/underline-normal-mode-cs1" %}
-### Add underline annotation programmatically
+### Add underline annotations programmatically
-Programmatically add underlines using the [addAnnotation](https://ej2.syncfusion.com/documentation/api/pdfviewer/annotation#addannotation) method.
+Programmatically add underline annotations using the [addAnnotation](https://ej2.syncfusion.com/documentation/api/pdfviewer/annotation#addannotation) method.
Example:
@@ -248,9 +248,11 @@ if (underline) {
## Edit underline annotation
-### Edit underline annotation in UI
+## Edit underline annotations
-The color and opacity of the underline annotation can be edited using the Edit Color and Edit Opacity tools in the annotation toolbar.
+### Edit underline annotations in UI
+
+The color and opacity of underline annotations can be edited using the Edit Color and Edit Opacity tools in the annotation toolbar.
#### Edit color
Use the color palette in the Edit Color tool to change the annotation color.
@@ -269,7 +271,9 @@ Use the range slider in the Edit Opacity tool to change annotation opacity.

-### Edit an existing underline annotation programmatically
+### Edit existing underline annotations programmatically
+
+To modify existing underline annotations programmatically, use the `editAnnotation()` method. Example:
To modify an existing underline annotation programmatically, use the editAnnotation() method. Example:
@@ -357,7 +361,7 @@ if (editUnderlineAnnotation) {
Set default properties before creating the control using `underlineSettings`.
-> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
+N> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
Refer to the following code snippet to set the default underline settings.
@@ -404,9 +408,9 @@ pdfviewer.appendTo('#PdfViewer');
## Set properties while adding Individual Annotation
-Set properties for individual annotation before creating the control using `underlineSettings`.
+Set properties for individual annotations before creating the control using `underlineSettings`.
-> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
+N> After editing default color and opacity using the Edit Color and Edit Opacity tools, the values update to the selected settings.
Refer to the following code snippet to set the default highlight settings.
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/volume-annotation.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/volume-annotation.md
index 7ad2863a1..1ffe89fd8 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/volume-annotation.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotation-types/volume-annotation.md
@@ -18,18 +18,18 @@ Volume is a measurement annotation used to calculate the volume of a rectangular
### Add volume annotation via UI
-Use the annotation toolbar:
-- Click the Edit Annotation button in the PDF Viewer toolbar.
-- Open the Measurement Annotation dropdown.
-- Choose Volume, then draw on the page.
+Use the annotation toolbar to:
+- Click the **Edit Annotation** button in the PDF Viewer toolbar.
+- Open the **Measurement Annotation** dropdown.
+- Choose **Volume**, then draw on the page.
-N> When in pan mode, selecting a measurement annotation switches the viewer to text select mode.
+N> When in pan mode, selecting measurement annotations switches the viewer to text select mode.

### Enable volume mode
-The PDF Viewer component allows drawing Volume annotations programmatically after enabling Volume mode in button clicks.
+The PDF Viewer component allows drawing volume annotations programmatically after enabling volume mode via button clicks.
```html
@@ -113,9 +113,9 @@ if (setNoneBtn) {
{% endhighlight %}
{% endtabs %}
-### Add a volume annotation programmatically
+### Add volume annotations programmatically
-Add measurement annotations programmatically using the [addAnnotation()](https://ej2.syncfusion.com/documentation/api/pdfviewer/annotation#annotation) method.
+Add volume annotations programmatically using the `addAnnotation` method.
```html
@@ -198,7 +198,7 @@ if (addVolBtn) {
### Edit volume annotation in UI
-You can select, move, and resize Volume annotations directly in the viewer:
+Use the viewer to select, move, and resize Volume annotations:
- Select a Volume measurement to show its handles.
- Move: drag the shape to reposition it on the page.
- Resize: drag the handles to adjust its size.
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotations-in-mobile-view.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotations-in-mobile-view.md
index f2690c2db..eb1fe5bc1 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotations-in-mobile-view.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotations-in-mobile-view.md
@@ -9,115 +9,117 @@ domainurl: ##DomainURL##
---
# Annotations in mobile view in JavaScript PDF Viewer control
+This article describes how to use annotation tools in the Syncfusion JavaScript (Essential JS 2) PDF Viewer on touch-enabled devices. It covers enabling the annotation toolbar; adding sticky notes, text markups, shapes, measurements, stamps, signatures, and ink; adjusting annotation properties before and after placement; using comments; and removing annotations.
+
## Open the annotation toolbar
-**Step 1:** Click Edit Annotation on the toolbar to enable the annotation toolbar.
+**Step 1:** Select the Edit Annotation icon on the main toolbar to enable the annotation toolbar.

-**Step 2:** The annotation toolbar appears below the main toolbar.
+**Step 2:** The annotation toolbar appears below the main toolbar and displays tools optimized for touch interaction.

## Add sticky note annotations
-**Step 1:** Click the Sticky Notes icon, then tap the page where the note should be placed.
+**Step 1:** Select the Sticky Notes icon to activate the sticky note tool, then tap the desired location on the page to place a note.

-**Step 2:** Tap the page to add the sticky note annotation.
+**Step 2:** A sticky note annotation is added at the selected location; opening the note allows viewing or editing its content.

## Add text markup annotations
-**Step 1:** Tap a text markup icon, select the text to mark, then tap the selection to apply the markup.
+**Step 1:** Select a text markup icon, highlight the desired text, then confirm the selection to apply the markup.

-**Step 2:** The text markup annotation is applied to the selected text.
+**Step 2:** The text markup annotation is applied to the highlighted text.

## Add shape and measurement annotations
-**Step 1:** Tap the Shape or Measure icon to open the corresponding toolbar.
+**Step 1:** Select the Shape or Measure icon to open the corresponding toolbar.

-**Step 2:** Choose a shape or measurement type, then draw it on the page.
+**Step 2:** Choose a shape or measurement type and draw it on the page.

-**Step 3:** The annotation appears on the PDF page.
+**Step 3:** The annotation is rendered on the PDF page.

## Add stamp annotations
-**Step 1:** Tap the Stamp icon and select a stamp type from the menu.
+**Step 1:** Select the Stamp icon and choose a stamp type from the menu.

-**Step 2:** Tap the page to place the stamp annotation.
+**Step 2:** Tap the page to place the chosen stamp annotation.

## Add signature annotations
-**Step 1:** Tap the Signature icon to open the canvas. Draw the signature, tap Create, then tap the viewer to place it.
+**Step 1:** Select the Signature icon to open the signature canvas. Draw the signature, choose Create, then tap the viewer to place it.

-**Step 2:** The signature is added to the page.
+**Step 2:** The signature annotation is added to the page.

## Add ink annotations
-**Step 1:** Tap the Ink tool and draw on the page.
+**Step 1:** Select the Ink tool and draw directly on the page.

-**Step 2:** The ink annotation appears on the page.
+**Step 2:** The ink annotation is rendered on the page.

## Change annotation properties (before adding)
-**Step 1:** Change properties before placing the annotation.
+**Step 1:** Adjust annotation properties before placement as required.
-**Step 2:** Tap the annotation icon to open the property toolbar, adjust properties, then place the annotation on the page.
+**Step 2:** Open the property toolbar for the annotation icon, set the desired properties, and then place the annotation on the page.

## Change annotation properties (after adding)
-**Step 1:** Change annotation properties after adding the annotation.
+**Step 1:** Modify annotation properties after placement when necessary.
-**Step 2:** Select the annotation to show the property toolbar, then adjust the properties.
+**Step 2:** Select the annotation to display the property toolbar, then update the properties as needed.

## Delete annotations
-**Step 1:** Select the annotation to show the property toolbar, then tap the Delete icon to remove it.
+**Step 1:** Select the annotation to display the property toolbar, then choose the Delete icon to remove the annotation.

## Open the comment panel
-**Step 1:** Open the comment panel using the icon in the property toolbar or the annotation toolbar.
+**Step 1:** Open the comment panel from the property toolbar or the annotation toolbar.

-**Step 2:** The comment panel appears.
+**Step 2:** The comment panel is displayed.

## Close the comment panel
-**Step 1:** Tap the Close button to close the comment panel.
+**Step 1:** Use the Close button to dismiss the comment panel.

diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotations-undo-redo.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotations-undo-redo.md
index 1cb8f5ae8..cc697a094 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotations-undo-redo.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/annotations-undo-redo.md
@@ -8,16 +8,16 @@ documentation: ug
domainurl: ##DomainURL##
---
-# Perform undo and redo in JavaScript
+# Undo and redo annotations in JavaScript PDF Viewer
-The PDF Viewer supports undo and redo for Annotations.
+The PDF Viewer supports undo and redo for annotations.

-Undo and redo actions can be performed in the following ways:
+Undo and redo actions can be performed by using either of the following methods:
-1. Using keyboard shortcuts:
- After performing a highlight annotation action, press Ctrl+Z to undo and Ctrl+Y to redo.
+1. Using keyboard shortcuts (desktop):
+ After performing an annotation action, press `Ctrl+Z` to undo and `Ctrl+Y` to redo on Windows and Linux. On macOS, use `Command+Z` to undo and `Command+Shift+Z` to redo.
2. Using the toolbar:
Use the **Undo** and **Redo** tools in the toolbar.
@@ -59,8 +59,7 @@ document.getElementById('redo').addEventListener('click', function () {
{% endhighlight %}
{% endtabs %}
-N> To set up the **server-backed PDF Viewer**,
-Add the below `serviceUrl` in the `index.js` file
+N> To set up the **server-backed PDF Viewer**, add the following `serviceUrl` in the `index.js` file:
`pdfviewer.serviceUrl = 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer/';`
{% previewsample "/document-processing/code-snippet/pdfviewer/javascript-es6/text-markup-annotation/undo-redo-cs1" %}
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/comments.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/comments.md
index 7c8a99b42..fa7c18b37 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/comments.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/comments.md
@@ -8,9 +8,9 @@ documentation: ug
domainurl: ##DomainURL##
---
-# Comments in JavaScript PDF Viewer control
+# Comments in JavaScript PDF Viewer
-The PDF Viewer control provides options to add, edit, and delete comments for the following annotations in PDF documents:
+The PDF Viewer provides options to add, edit, and delete comments for the following annotation types in PDF documents:
* Shape annotation
* Stamp annotation
@@ -32,90 +32,90 @@ Annotation comments can be added to the PDF using the comment panel. The comment
1. Using the annotation menu
- * Click the Edit Annotation button in the PDF Viewer toolbar. A toolbar appears below it.
- * Click the Comment Panel button. The comment panel opens.
+ * Select the Edit Annotation button in the PDF Viewer toolbar. A toolbar appears below it.
+ * Select the Comment Panel button to open the comment panel.
-2. Using Context menu
+2. Using the context menu
* Select the annotation in the PDF document and right-click it.
- * Select Comment from the context menu.
+ * Choose Comment from the context menu.
-3. Using the Mouse click
+3. Using a mouse click
- * Select the annotation in the PDF document and double-click it. The comment panel opens.
+ * Select the annotation in the PDF document and double-click it to open the comment panel.
If the comment panel is already open, select the annotation and add comments using the panel.
### Adding comments
-* Select the annotation in the PDF document.
-* The corresponding comment thread is highlighted in the comment panel.
-* Add comments and replies using the comment panel.
+- Select an annotation in the PDF document.
+- The corresponding comment thread is highlighted in the comment panel.
+- Add comments and replies using the comment panel.

-### Adding Comment Replies
+### Adding comment replies
-* Multiple replies can be added to a comment.
-* After adding a comment, add replies as needed.
+- Multiple replies can be added to a comment.
+- After adding a comment, add replies as needed.
-### Adding Comment or Reply Status
+### Adding comment or reply status
-* Select the annotation comment in the comment panel.
-* Click More options in the comment or reply container.
-* Select Set Status from the context menu.
-* Choose a status for the comment.
+- Select the annotation comment in the comment panel.
+- Click More options in the comment or reply container.
+- Select Set Status from the context menu.
+- Choose a status for the comment.

-### Editing the comments and comments replies of the annotations
+### Editing comments and comment replies for annotations
Comments, replies, and status can be edited using the comment panel.
-### Editing the Comment or Comment Replies
+### Editing a comment or comment reply
Edit comments and replies in the following ways:
-1. Using the Context menu
+1. Using the context menu
* Select the annotation comment in the comment panel.
* Click More options in the comment or reply container.
* Select Edit from the context menu.
- * An editable text box appears. Change the content of the comment or reply.
+ * An editable text box appears; update the content of the comment or reply.
-2. Using the Mouse Click
+2. Using a mouse click
* Select the annotation comment in the comment panel.
* Double-click the comment or reply content.
- * An editable text box appears. Change the content of the comment or reply.
+ * An editable text box appears; update the content of the comment or reply.
-### Editing Comment or Reply Status
+### Editing comment or reply status
-* Select the annotation comment in the comment panel.
-* Click More options in the comment or reply container.
-* Select Set Status from the context menu.
-* Choose a status for the comment.
-* None is the default state. Selecting None clears the status indicator; the comment or reply remains visible.
+- Select the annotation comment in the comment panel.
+- Click More options in the comment or reply container.
+- Select Set Status from the context menu.
+- Choose a status for the comment.
+- None is the default state; selecting None clears the status indicator while the comment or reply remains visible.

-### Delete Comment or Comment Replies
+### Delete comment or comment replies
-* Select the annotation comment in the comment panel.
-* Click More options in the comment or reply container.
-* Select Delete from the context menu.
+- Select the annotation comment in the comment panel.
+- Click More options in the comment or reply container.
+- Select Delete from the context menu.

->Deleting the root comment from the comment panel also deletes the associated annotation.
+> Deleting the root comment from the comment panel also deletes the associated annotation.
-## Add Comments to the annotation Programmatically
+## Add comments to an annotation programmatically
-### How to Add Commnets and Replies programmatically
+### How to add comments and replies programmatically
Comments can be added to the PDF document programmatically using the `editAnnotation` property.
-The following example Shows how to add comments and reply in response to a button click.
+The following example shows how to add comments and a reply in response to a button click.
```html
@@ -182,11 +182,11 @@ document.getElementById("addReply")?.addEventListener("click", function() {
{% endhighlight %}
{% endtabs %}
-### How to Edit Comments programmatically
+### How to edit comments programmatically
Comments can be edited in the PDF document programmatically using the `editAnnotation` property.
-The following example Shows how to edit comments and reply in response to a button click.
+The following example shows how to edit comments and a reply in response to a button click.
```html
@@ -256,7 +256,7 @@ document.getElementById("editReply")?.addEventListener("click", function() {
{% endhighlight %}
{% endtabs %}
-### How to check the comments added by the user
+### How to check comments added by users
Comments added to the PDF document can be read using the annotation's `comments` property.
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/create-modify-annotation.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/create-modify-annotation.md
index feeee94b8..39eb8f069 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/create-modify-annotation.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/create-modify-annotation.md
@@ -10,28 +10,28 @@ domainurl: ##DomainURL##
# Create and modify annotations
-Use the PDF Viewer annotation tools to add, edit, and manage markups across your documents. This page provides a quick overview with convenient navigation to each annotation type and common ways to create and modify annotations.
+The PDF Viewer annotation tools add, edit, and manage markups across documents. This page provides an overview with quick navigation to each annotation type and common creation and modification workflows.
## Quick navigation to annotation types
Jump directly to a specific annotation type for detailed usage and examples:
-TextMarkup Annotations:
+Text markup annotations:
-- Highlight : [Highlight annotation](./annotation-types/highlight-annotation)
+- Highlight: [Highlight annotation](./annotation-types/highlight-annotation)
- Strikethrough: [Strikethrough annotation](./annotation-types/strikethrough-annotation)
- Underline: [Underline annotation](./annotation-types/underline-annotation)
- Squiggly: [Squiggly annotation](./annotation-types/Squiggly-annotation)
-Shape Annotations:
+Shape annotations:
- Line: [Line annotation](./annotation-types/line-annotation)
- Arrow: [Arrow annotation](./annotation-types/arrow-annotation)
- Rectangle: [Rectangle annotation](./annotation-types/rectangle-annotation)
-- Circle : [Circle annotation](./annotation-types/circle-annotation)
+- Circle: [Circle annotation](./annotation-types/circle-annotation)
- Polygon: [Polygon annotation](./annotation-types/polygon-annotation)
-Measurement Annotations:
+Measurement annotations:
- Distance: [Distance annotation](./annotation-types/distance-annotation)
- Perimeter: [Perimeter annotation](./annotation-types/perimeter-annotation)
@@ -39,13 +39,13 @@ Measurement Annotations:
- Radius: [Radius annotation](./annotation-types/ra)
- Volume: [Volume annotation](./annotation-types/vo)
-Other Annotations:
+Other annotations:
- Redaction: [Redaction annotation](./annotation-types/redaction-annotation)
-- Free Text: [Free text annotation](./annotation-types/free-text-annotation)
-- Ink (Freehand): [Ink annotation](./annotation-types/ink-annotation)
+- Free text: [Free text annotation](./annotation-types/free-text-annotation)
+- Ink (freehand): [Ink annotation](./annotation-types/ink-annotation)
- Stamp: [Stamp annotation](./annotation-types/stamp-annotation)
-- Sticky Notes: [Sticky notes annotation](./annotation-types/sticky-notes-annotation)
+- Sticky notes: [Sticky notes annotation](./annotation-types/sticky-notes-annotation)
N> Each annotation type page includes both UI steps and programmatic examples specific to that type.
@@ -54,18 +54,16 @@ N> Each annotation type page includes both UI steps and programmatic examples sp
### Create via UI
- Open the annotation toolbar in the PDF Viewer.
-- Choose the required tool (for example, Shape, Free Text, Ink, Stamp, Redaction).
+- Choose the required tool (for example, Shape, Free text, Ink, Stamp, Redaction).
- Click or drag on the page to place the annotation.

-Notes:
-- When pan mode is active and you select a shape or stamp tool, the viewer switches to text select mode automatically.
-- Property pickers in the annotation toolbar let you choose color, stroke color, thickness, and opacity while drawing.
+N> When pan mode is active and a shape or stamp tool is selected, the viewer switches to text select mode automatically. Property pickers in the annotation toolbar let users choose color, stroke color, thickness, and opacity while drawing.
### Create programmatically
-Creation patterns vary slightly by type. Refer to the type pages above for tailored code. Example: creating a Redaction annotation using addAnnotation.
+Creation patterns vary by type. Refer to the individual annotation pages for tailored code. Example: creating a Redaction annotation using `addAnnotation`.
```html
@@ -88,20 +86,20 @@ document.getElementById('addRedactAnnot')?.addEventListener('click', () => {
});
```
-See the individual annotation pages (links above) for enabling draw modes from UI buttons and other type-specific creation samples.
+Refer to the individual annotation pages for enabling draw modes from UI buttons and other type-specific creation samples.
## Modify annotations
### Modify via UI
Use the annotation toolbar after selecting an annotation:
-- Edit Color: change the fill or text color (when applicable)
+- Edit color: change the fill or text color (when applicable)

-- Edit Stroke Color: change the border/line color (shape and line types)
+- Edit stroke color: change the border or line color (shape and line types)

-- Edit Thickness: adjust the border/line thickness
+- Edit thickness: adjust the border or line thickness

-- Edit Opacity: change transparency
+- Edit opacity: change transparency

@@ -109,10 +107,10 @@ Additional options such as Line Properties (for line/arrow) are available from t
### Modify programmatically
-Use editAnnotation to apply changes to an existing annotation. Common flow:
-- Locate the target annotation from annotationCollection
-- Update the desired properties
-- Call editAnnotation with the modified object
+Use `editAnnotation` to apply changes to an existing annotation. Common flow:
+- Locate the target annotation from `annotationCollection`.
+- Update the desired properties.
+- Call `editAnnotation` with the modified object.
```html
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/custom-data.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/custom-data.md
index 2de082c1e..5d89c11fa 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/custom-data.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/custom-data.md
@@ -10,11 +10,12 @@ domainurl: ##DomainURL##
# Custom data in annotations
-You can attach any custom key–value data to annotations using the customData property. This works at two levels:
-- Default level with annotationSettings: Applies to all annotations created via the UI.
-- Per-annotation-type level: Supply customData in each annotation type settings (highlightSettings, rectangleSettings, etc.).
+Annotations can include custom key–value data via the `customData` property. This is supported at two levels:
-The customData value can be any serializable object. It is preserved when exporting or importing annotations and is available at runtime on the annotation object.
+- Default level via `annotationSettings`: applies to all annotations created through the UI.
+- Per-annotation-type level: provide `customData` inside specific annotation-type settings (for example, `highlightSettings`, `rectangleSettings`).
+
+The `customData` value can be any JSON-serializable object. It is preserved during annotation export/import and is available at runtime on the annotation object.
## Default custom data (annotationSettings)
@@ -134,9 +135,9 @@ if (btn) {
}
```
-### Notes
-- customData can be any JSON-serializable object and is stored with the annotation.
-- Use default annotationSettings.customData for global defaults and override with per-tool settings as needed.
+### Note
+- `customData` can be any JSON-serializable object and is stored with the annotation.
+- Use `annotationSettings.customData` for global defaults and override with per-tool settings as needed.
[View Sample on GitHub](https://github.com/SyncfusionExamples/javascript-pdf-viewer-examples/tree/master)
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/custom-tools.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/custom-tools.md
index f96959c61..e1f9f77c0 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/custom-tools.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/custom-tools.md
@@ -10,17 +10,17 @@ domainurl: ##DomainURL##
# Custom annotation tools in JavaScript PDF Viewer
-PDF viewer allows to add your own toolbar and toggle PDF annotation tools programmatically using the setAnnotationMode method. You can enable tools such as Highlight, Underline, Rectangle, Circle, Arrow, Free Text, Ink, and Measurement annotations (Distance, Perimeter, Area, Radius).
+The PDF Viewer supports adding a custom toolbar and toggling annotation tools programmatically using the `setAnnotationMode` method. The viewer can enable tools such as Highlight, Underline, Rectangle, Circle, Arrow, Free Text, Ink, and measurement annotations (Distance, Perimeter, Area, Radius).
Follow these steps to build a minimal custom annotation toolbar.
Step 1: Start from a basic PDF Viewer sample
-See the [Getting started guide](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/javascript-es5/getting-started) to create a basic sample.
+Refer to the [Getting started guide](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/javascript-es5/getting-started) to create a basic sample.
Step 2: Add HTML for a lightweight custom toolbar
-Add buttons for the tools you want to expose. You can use plain buttons or Syncfusion Toolbar. Below is a plain-HTML variant that keeps things simple.
+Add buttons for the tools to expose. The sample below uses plain HTML buttons for simplicity; replace with a Syncfusion Toolbar for a richer UI if desired.
```html
@@ -46,7 +46,7 @@ Add buttons for the tools you want to expose. You can use plain buttons or Syncf
Step 3: Import and inject modules
-Make sure the Annotation module is injected. If you also want text selection/search, include those as needed.
+Ensure the `Annotation` module is injected. Include text selection and search modules if those capabilities are required.
```js
var PdfViewer = ej.pdfviewer.PdfViewer;
@@ -96,9 +96,9 @@ function bindAnnoTools() {
bindAnnoTools();
```
-## Custom Tools Using Syncfusion Toolbar for a richer UI
+## Custom tools using Syncfusion Toolbar for a richer UI
-You can replace the plain buttons with Syncfusion EJ2 Toolbar items and icons similar to the custom toolbar sample. Here is a compact example showing a few common tools. Add the Toolbar package (@syncfusion/ej2-navigations) and wire each item’s click to setAnnotationMode.
+Replace the plain buttons with Syncfusion EJ2 Toolbar items and icons for a richer UI. The compact example below shows common tools. Add the Toolbar package `@syncfusion/ej2-navigations` and wire each item’s click handler to `setAnnotationMode`.
```js
// Add built-in icon classes via EJ2 CSS (match your version), for example:
@@ -156,10 +156,10 @@ var annoToolbar = new Tool({
annoToolbar.appendTo('#annotationToolbar');
```
-Notes
+Note
-- setAnnotationMode accepts the annotation type name. Common values include: Highlight, Underline, Strikethrough, StickyNotes, FreeText, Ink, Rectangle, Circle, Line, Arrow, Polygon, Polyline, Distance, Perimeter, Area, Radius, and None to exit.
-- You can predefine default annotation styles using the corresponding settings properties (for example, areaSettings as shown in the Area annotation topic).
+- `setAnnotationMode` accepts the annotation type name. Common values include: `Highlight`, `Underline`, `Strikethrough`, `StickyNotes`, `FreeText`, `Ink`, `Rectangle`, `Circle`, `Line`, `Arrow`, `Polygon`, `Polyline`, `Distance`, `Perimeter`, `Area`, `Radius`, and `None` to exit.
+- Default annotation styles can be predefined using the corresponding settings properties (for example, `areaSettings`).
- To combine with a fully custom viewer toolbar, see Custom Toolbar in JavaScript PDF Viewer.
[View Sample on GitHub](https://github.com/SyncfusionExamples/javascript-pdf-viewer-examples/tree/master)
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/customize-annotation.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/customize-annotation.md
index 39388b8d9..45b81cad2 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/customize-annotation.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/customize-annotation.md
@@ -10,42 +10,43 @@ domainurl: ##DomainURL##
# Customize annotations
-You can customize annotation color, stroke color, thickness, opacity, and other properties using the built‑in UI or via code. This page summarizes common customization patterns and shows how to set defaults per annotation type.
+Annotation appearance and behavior (for example color, stroke color, thickness, and opacity) can be customized using the built‑in UI or programmatically. This page summarizes common customization patterns and shows how to set defaults per annotation type.
## Customize via UI
Use the annotation toolbar after selecting an annotation:
-- Edit Color: changes the annotation fill/text color
+
+- Edit color: change the annotation fill or text color.

-- Edit Stroke Color: changes border/line color (shapes and lines)
+- Edit stroke color: change the border or line color for shapes and line types.

-- Edit Thickness: adjusts border/line thickness
+- Edit thickness: adjust the border or line thickness.

-- Edit Opacity: adjusts transparency
+- Edit opacity: change annotation transparency.

-Type‑specific options (for example, Line Properties) are available from the context menu (right‑click > Properties) where supported.
+Type‑specific options (for example, Line properties) are available from the context menu (right‑click > Properties) where supported.
## Set default properties during initialization
-You can set defaults for specific annotation types when creating the PdfViewer instance. You can set author, subject, color, opacity using Annotation Settings. Below are examples using settings already used in the annotation type pages.
+Set defaults for specific annotation types when creating the `PdfViewer` instance. Configure properties such as author, subject, color, and opacity using annotation settings. The examples below reference settings used on the annotation type pages.
-TextMarkup Annotations:
+Text markup annotations:
-- Highlight : Set default properties before creating the control using [`highlightSettings`](./annotation-types/highlight-annotation/#set-default-properties-during-control-initialization)
+- Highlight: Set default properties before creating the control using [`highlightSettings`](./annotation-types/highlight-annotation/#set-default-properties-during-control-initialization)
- Strikethrough: Use [`strikethroughSettings`](./annotation-types/strikethrough-annotation/#default-strikethrough-settings-during-initialization)
- Underline: Use [`underlineSettings`](./annotation-types/underline-annotation/#default-underline-settings-during-initialization)
- Squiggly: Use [`squigglySettings`](./annotation-types/Squiggly-annotation/#set-default-properties-during-control-initialization)
-Shape Annotations:
+Shape annotations:
- Line: Use [`lineSettings`](./annotation-types/line-annotation/#default-line-settings-during-initialization)
- Arrow: Use [`arrowSettings`](./annotation-types/arrow-annotation/#default-arrow-settings-during-initialization)
- Rectangle: Use [`rectangleSettings`](./annotation-types/rectangle-annotation/#default-rectangle-settings-during-initialization)
-- Circle : Use [`circleSettings`](./annotation-types/circle-annotation/#default-circle-settings-during-initialization)
+- Circle: Use [`circleSettings`](./annotation-types/circle-annotation/#default-circle-settings-during-initialization)
- Polygon: Use [`polygonSettings`](./annotation-types/polygon-annotation/#default-polygon-settings-during-initialization)
-Measurement Annotations:
+Measurement annotations:
- Distance: Use [`distanceSettings`](./annotation-types/distance-annotation/#default-distance-settings-during-initialization)
- Perimeter: Use [`perimeterSettings`](./annotation-types/perimeter-annotation/#default-perimeter-settings-during-initialization)
@@ -53,13 +54,13 @@ Measurement Annotations:
- Radius: Use [`radiusSettings`](./annotation-types/radius-annotation/#default-radius-settings-during-initialization)
- Volume: Use [`volumeSettings`](./annotation-types/volume-annotation/#default-volume-settings-during-initialization)
-Other Annotations:
+Other annotations:
- Redaction: Use [`redactionSettings`](./annotation-types/redaction-annotation/#default-redaction-settings-during-initialization)
-- Free Text: Use [`freeTextSettings`](./annotation-types/free-text-annotation/#default-free-text-settings-during-initialization)
-- Ink (Freehand): Use [`inkAnnotationSettings`](./annotation-types/ink-annotation/#default-ink-settings-during-initialization)
+- Free text: Use [`freeTextSettings`](./annotation-types/free-text-annotation/#default-free-text-settings-during-initialization)
+- Ink (freehand): Use [`inkAnnotationSettings`](./annotation-types/ink-annotation/#default-ink-settings-during-initialization)
- Stamp: Use [`stampSettings`](./annotation-types/stamp-annotation/#default-stamp-settings-during-initialization)
-- Sticky Notes: Use [`stickyNotesSettings`](./annotation-types/sticky-notes-annotation/#default-sticky-notes-settings-during-initialization)
+- Sticky notes: Use [`stickyNotesSettings`](./annotation-types/sticky-notes-annotation/#default-sticky-notes-settings-during-initialization)
Set defaults for specific annotation types when creating the PdfViewer instance. Below are examples using settings already used in the annotation type pages.
@@ -153,7 +154,7 @@ pdfviewer.appendTo('#PdfViewer');
{% endhighlight %}
{% endtabs %}
-N> After changing defaults using UI tools (Edit Color, Edit Opacity, etc.), the values will reflect the latest selection for subsequent annotations in the same session.
+N> After changing defaults using UI tools (for example, Edit color or Edit opacity), the updated values apply to subsequent annotations within the same session.
## Customize programmatically at runtime
diff --git a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/delete-annotation.md b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/delete-annotation.md
index e5bbf5922..0c8b0b608 100644
--- a/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/delete-annotation.md
+++ b/Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/delete-annotation.md
@@ -10,20 +10,21 @@ domainurl: ##DomainURL##
# Remove annotations
-You can remove annotations using the built-in UI or programmatically. This page shows the common ways to delete annotations in the viewer.
+Annotations can be removed using the built-in UI or programmatically. This page shows common methods to delete annotations in the viewer.
## Delete via UI
-You can delete a selected annotation in three ways:
-- Context menu: Right-click the annotation and choose Delete.
+A selected annotation can be deleted in three ways:
+
+- Context menu: right-click the annotation and choose Delete.

-- Secondary toolbar: Select the annotation and click the Delete button on the annotation toolbar.
+- Annotation toolbar: select the annotation and click the Delete button on the annotation toolbar.

-- Keyboard: Select the annotation and press the `Delete` key.
+- Keyboard: select the annotation and press the `Delete` key.
## Delete programmatically
-You can delete the currently selected annotation, or delete a specific annotation by its id.
+Annotations can be deleted programmatically either by removing the currently selected annotation or by specifying an annotation id.
```html