@syncfusion/ej2-angular-pdfviewer
Version:
Essential JS 2 PDF viewer Component for Angular
969 lines (628 loc) • 169 kB
Markdown
# Changelog
## [Unreleased]
### PDF Viewer
#### Bug Fixes
- `#I776985` - Resolved an issue where script error occurred when `findTextAsync` was performed with the provided text in the document.
## 31.2.3 (2025-10-22)
### PDF Viewer
#### Bug Fixes
- `#I773362` - Resolved an issue where the digital signature in the PDF document was not visible on first time loading in `standalone` PDF Viewer.
#### Breaking Changes
- `#I771734` - In `Dropdown` and `ListBox` form fields, the options list now displays `itemName` instead of `itemValue`.
## 31.2.2 (2025-10-15)
### PDF Viewer
#### Bug Fixes
- `#I771576` - Resolved an issue where the comment author name changed on non-rendered pages after saving the PDF file.
- `#I771805` - Resolved an issue where script error occurred when loading the provided PDF document.
## 31.1.23 (2025-10-07)
### PDF Viewer
#### Bug Fixes
- `#I770525` - Resolved an issue where text selection, copying, and pasting within form fields did not work when a tooltip was active.
## 31.1.20 (2025-09-10)
### PDF Viewer
#### Bug Fixes
- `#I757497` - Fixed an issue where the position of the freetext annotation was incorrect when the document was downloaded and opened in other viewers in server mode.
- `#I764644` - Fixed an issue where the field name was undefined in the `formFieldFocusOut` event after signing the Signature field.
## 31.1.18 (2025-09-10)
### PDF Viewer
#### Bug Fixes
- `#I761851` - Resolved an issue where stamp comments were missing in the comment panel when opacity was not set in `stampSettings`.
- `#I755572` - Resolved a script error when opening the context menu after selecting the text more than three pages.
## 31.1.17 (2025-09-05)
### PDF Viewer
#### New Features
- `#I703098` - Added support for angle constraints in line-based annotations, with customizable angle settings.
#### Bug Fixes
- `#I756156` - Resolved an issue where the page became unresponsive when searching the provided line in the UI.
- `#I755829` - Resolved an issue where the exception thrown when saving the customer provided document in server rendering mode.
- `#I758341` , `#I758504` - Resolved an issue where the script error occurs when retrieving bookmarks in the customer provided document.
## 30.2.6 (2025-08-19)
### PDF Viewer
#### Bug Fixes
- `#I751541` - Resolved an issue where annotations were not displayed after saving and reloading the document when using multiple PDF viewers on a single page.
- `#I754856` - Resolved an issue where the script error occurred when importing annotations with Unicode characters in server rendering mode.
- `#I750256` - Resolved a script error that occurred when passing long text to the `findText` method.
- `#I751635` - Resolved an issue where the last few characters were missing when programmatically highlighting multi-line sentences using the `findText`.
## 30.2.5 (2025-08-13)
### PDF Viewer
#### Bug Fixes
- `#I747378` - Resolved an issue where custom fonts were not properly applied to form fields when reloading the PDF document.
- `#I747633` - Resolved an issue where the script error occurs when saving PDF after adding rectangle annotation with zero height and zero width.
- `#I751778` - Resolved an issue where the annotations in non-rendered pages are not deleting properly when deleted using `deleteAnnotationById` method.
- `#I750004` - Resolved an issue where annotations are duplicated on non-rendered pages when importing the annotations.
## 30.2.4 (2025-08-07)
### PDF Viewer
#### Bug Fixes
- `#I743981` - Resolved an issue where worker memory increased when loading the PDF document continuously.
- `#I749027` - Resolved an issue where the script error occurred when downloading the customer provided document.
## 30.1.42 (2025-07-29)
### PDF Viewer
#### Bug Fixes
- `#I741878` - Enhanced performance of the `findText` and `deleteAnnotations` methods.
## 30.1.41 (2025-07-22)
### PDF Viewer
#### Bug Fixes
- `#I744124` - Resolved an issue where the context menu is not proper with nested custom context menu items.
- `#I738912` - Resolved an issue where the signature and initial field indicators were cut off at lower zoom levels.
- `#I729371` - Resolved an issue where a script error occurred when adding a comment after programmatically editing the annotation author.
## 30.1.40 (2025-07-15)
### PDF Viewer
#### Bug Fixes
- `#I743298` - Resolved an issue where the `findText` bounds are not proper for the different line sentence.
## 30.1.39 (2025-07-08)
### PDF Viewer
#### Bug Fixes
- `#I738319` - Resolved an issue where `enableToolbarItem` method not working for custom toolbar items.
- `#I737343` - Resolved an issue where the tooltip is not proper for custom toolbar items.
- `#I736747` - Resolved an issue where the short hex values are not working for annotation color when importing annotations.
## 30.1.38 (2025-07-02)
### PDF Viewer
#### Bug Fixes
- `#I731877` - Fixed an issue where Annotations are not rendered on non-rendered pages due to same name with imported annotation.
- `#I729510` - Fixed an issue where the Viewer container does not adjust properly when the display is not set to block.
- `#I729539` - Resolved an issue where the annotation selector settings are not applied properly without the `resizerSize` property.
- `#I723498` - The comment panel input field now opens correctly on `SharePoint` wiki and web part pages.
## 30.1.37 (2025-06-25)
### PDF Viewer
#### New Features
- `#I712601` - Added support to dynamically enable or disable text selection in the PDF Viewer.
- PDF Viewer now supports squiggly annotations. This feature allows users to highlight important sections of the text with wavy underlines, enhancing document review and collaboration. Squiggly annotations can be added, edited, and customized directly within the viewer, providing a seamless and intuitive experience for annotating PDFs.
- `#I687373` - Provided zooming support in the Page Organizer view of the PDF Viewer. This enhancement provides an interactive zoom experience to help users identify the pages they are organizing.
#### Bug Fixes
- `#I731429` - Resolved an issue where the rectangle annotation was not added correctly in the PDF Viewer when it was drawn quickly.
## 29.2.11 (2025-06-17)
### PDF Viewer
#### Bug Fixes
- `#I723913` - Resolved an issue where text search and `findText` functionalities are not working with the provided document.
- `#I724481` - Fixed an issue where the current page number not reset properly when `unload` method called.
- `#I729976` - Fixed an issue where the form fields lagged when zooming in and out with a large number of fields.
- `#I728939` - Fixed an issue where the date time format is not proper when using the `loadCldr` method.
- `#I732950` - Resolved an issue where a memory leak occurred after destroying the PDF viewer.
## 29.2.10 (2025-06-10)
### PDF Viewer
#### Bug Fixes
- `#I728109` - Fixed an issue where the multiline input text gets combined into one line without `Formdesigner` module on Re-render.
- `#I731710` - The script error no longer occurs when the `destroy` method is called without annotation module.
- `#I730602` - Resolved an issue where the current author name doesn't get updated when editing note in the comment panel.
## 29.2.8 (2025-06-03)
### PDF Viewer
#### Bug Fixes
- `#I725861` - Resolved an issue where text selection and highlight annotations were not working properly in the provided document.
- `#I728949` - Resolved an issue where annotations disappeared on duplicated PDF pages during re-rendering in the PDF viewer.
- `#I725266` - Fixed an issue where the PDF Viewer does not scroll to annotation location when selected from comment panel at higher zoom levels.
- `#I717803` - Fixed an issue where the scale ratio unable to set above 100.
- `#I720768` - Fixed an issue where the comment panel title and note overlap for long author name.
## 29.2.7 (2025-05-27)
### PDF Viewer
#### Bug Fixes
- `#I957375` - Resolved an issue where the fill color was not applied when changed from transparent to white.
- `#I721139` - Fixed an issue where `retrieveFormFields` method returns empty values for Textbox and Password fields without injecting Form Designer module.
## 29.2.5 (2025-05-21)
### PDF Viewer
#### Bug Fixes
- `#I721515` - Resolved an issue where a script error occurred while scrolling through a customer-provided document.
- `#I719937` - The script error no longer occurs when loading the customer provided document.
- `#I719934` - Resolved an issue where custom fonts were not preserved in the downloaded document for form fields on the server side.
- `#I720572` - Fixed an issue where the `fireFormFieldRemoveEvent` is not triggered when deleting the form fields on non-render pages.
- `#I721617` - Resolved an issue where an undefined exception was thrown while accessing the destination page of child bookmarks in the provided document.
- `#I723539` - Resolved an issue where importing text markup annotations was slow for large documents at higher zoom levels.
## 29.2.4 (2025-05-14)
### PDF Viewer
#### Bug Fixes
- `#I717333` - Fixed an issue where the draw and type signatures were missing in the downloaded document for non-rendered pages when updating it using the `updateFormFieldsValue` method.
- `#I715531` - Resolved an issue where hyperlinks were not rendered when `enableTileRendering` was set to true.
- `#I715989` - Resolved an issue where the rectangle annotation was not properly added when the cursor was quickly moved outside the page during drawing.
- `#I717767` - Resolved an issue where tile rendered documents appeared blurry at minimum zoom levels in server rendering mode.
- `#I643817` - Resolved an issue where calibration was not functioning correctly for measurement annotations.
- `#I714312` , `#I712195` - Improved loading and interaction performance when opening documents containing a more number of form fields.
## 29.1.41 (2025-05-06)
### PDF Viewer
#### Bug Fixes
- `#I712197` - Fixed an issue where the form field value and font size not preserved when downloading the document without form designer module.
- `#I713625` - Resolved an issue where form field data was not retained in the downloaded document without annotation module.
## 29.1.40 (2025-04-29)
### PDF Viewer
#### Bug Fixes
- `#I708159` - Resolved the issue where the `clearFormFields` method was not working for newly added form fields.
- `#I709563` - Resolved an issue where the shape label could not be set during the `annotationAdd` event.
- `#I709131` - Resolved the issue where the form field cursor position was incorrect when `enableRtl` was set to true.
- `#I713403` - Fixed an issue where the `isDocumentEdited` property remains false in the `annotationAdd` event when adding a free text annotation.
- `#I711690` - Resolved an exception that occurs when saving the document after programmatically updating an existing type signature to an image signature.
## 29.1.39 (2025-04-22)
### PDF Viewer
#### Bug Fixes
- `#I706265` - Resolved the issue where text markup annotations disappear when adding the free text annotation programmatically.
- `#I710824` - Resolved an exception that occurs when opening a password-protected document with a digital signature.
## 29.1.38 (2025-04-15)
### PDF Viewer
#### Bug Fixes
- `#I709549` - Added condition before accessing the `getPageSize` and `exportHyperlinks` methods.
- `#I705240` - The form field positions are correct after updating them using the `updateFormField` method.
- `#I704004` - The `ajaxRequestSuccess` event is triggered properly after the download action is completed.
- `#I701556` - The image signature in the signature/initial field is preserved correctly when printing the document.
- `#I702570` - The form fields on non-rendered pages are now visible when printing the document.
- `#I705546` - The form field position is updated correctly for non-rendered pages using the `updateFormField` method.
## 29.1.37 (2025-04-08)
### PDF Viewer
#### Bug Fixes
- `#I708196` - The script error no longer occurs when loading the PDF document after it has been programmatically unloaded from the PDF Viewer.
- `#I196344` - Fixed an issue where the signature value did not appear while adding the field programmatically.
- `#I700063` - The annotation rendering is now optimized for documents with more annotations.
- `#I698822` - Fixed an issue where the locked custom stamp remains editable.
- `#I704815` - Enhanced the `fireFormFieldMoveEvent`, `fireFormFieldMouseLeaveEvent`, `fireFormFieldMouseOverEvent`, `fireFormFieldSelectEvent`, `fireFormFieldUnSelectEvent`, and `fireFormFieldResizeEvent` to include additional relevant details.
- `#I680814` - Fixed an issue where the custom font is not rendered properly in reloaded document.
## 29.1.35 (2025-04-01)
### PDF Viewer
#### Bug Fixes
- `#I702575` - Double quotes will no longer be removed from the text box field when reloading a downloaded document.
- `#I685698` - `PDFium` resources can now be loaded without requiring the `ej2-pdfviewer-lib` folder.
- `#I689380` - The file size will not increase when saving the document without making any changes.
- `#I698835` - Improved performance and reduced lag when zooming in on specific landscape PDF files.
- `#I704811` - Now, the `formFieldAdd` event is triggered when adding form fields programmatically to non-rendered pages.
- `#I695141` - The `documentLoadFailed` event now triggers as expected when attempting to load an invalid PDF URL.
- `#I683048` - Fixed an issue where the custom stamp image did not appear in the downloaded PDF when modified programmatically.
- `#I697942` - The signature and initial form field values are now correctly included in the form field collections for non-rendered pages.
- `#I699488` - Resolved an exception that occurred when importing and deleting annotations simultaneously within the `annotationAdd` event.
- `#I699776` - Fixed an issue where `PdfViewer` threw a 'Cannot read properties of undefined' error under certain conditions when module injection was not used.
- `#I707879` - The script error does not occur when the `documentId` is passed to the document path on the server side.
- `#I702575` - Double quotes will no longer be removed from the text box field when reloading a downloaded document.
- `#I685698` - `PDFium` resources can now be loaded without requiring the `ej2-pdfviewer-lib` folder.
- `#I689380` - The file size will not increase when saving the document without making any changes.
- `#I698835` - Improved performance and reduced lag when zooming in on specific landscape PDF files.
- `#I704811` - The `formFieldAdd` event is now triggered when adding form fields programmatically to non-rendered pages.
- `#I695141` - The `documentLoadFailed` event now triggers as expected when attempting to load an invalid PDF URL.
- `#I683048` - Fixed an issue where the custom stamp image did not appear in the downloaded PDF when modified programmatically.
- `#I697942` - The signature and initial form field values are now correctly included in the form field collections for non-rendered pages.
- `#I699488` - Resolved an exception that occurred when importing and deleting annotations simultaneously within the `annotationAdd` event.
- `#I699776` - Fixed an issue where `PdfViewer` threw a 'Cannot read properties of undefined' error under certain conditions when module injection was not used.
- `#I707879` - The script error does not occur when the `documentId` is passed to the document path on the server side.
## 29.1.33 (2025-03-25)
### PDF Viewer
#### New Features
- Enhanced text search performance for large PDF documents.
- Added support for asynchronously extracting and finding text using the `extractText` and `findTextAsync` APIs.
- `#I645218` - Optimized memory usage when loading large PDF documents, with further enhancements available through the `ExtractTextOptions`.
- `#I645354` - Added the `resourcesLoaded` event in PDF Viewer.
#### Bug Fixes
- `#I686925` - Now, the text search works correctly when searching for multiple words in Unicode text.
- `#I693186` - Now, the Angular change detection event does not trigger continuously while zooming.
## 28.2.11 (2025-03-11)
### PDF Viewer
#### Bug Fixes
- `#I696432` - Now, the form fields no longer disappear when reloading the PDF document after a pinch zoom without the form designer module.
- `#I695648` - Now, the exception did not occur when saving the provided document without scrolling.
- `#I695167` - Now, the custom data value is updated properly for non-rendered pages using the `updateFormField` API.
#### Breaking Changes
-`#I695236` - The `validateFormFields` API will no longer be triggered after completing the required form fields and initiating `download` or `saveAsBlob`. To proceed with `download` or `saveAsBlob` without filling in the required fields, simply disable the `validateFormFields` event by setting [`enableFormFieldsValidation`](https://helpej2.syncfusion.com/documentation/api/pdfviewer/#enableformfieldsvalidation) to false.
-`#I695236` - The `validateFormFields` API will no longer be triggered after completing the required form fields and initiating `download` or `saveAsBlob`. To proceed with `download` or `saveAsBlob` without filling in the required fields, simply disable the `validateFormFields` event by setting [`enableFormFieldsValidation`](https://ej2.syncfusion.com/angular/documentation/api/pdfviewer/#enableformfieldsvalidation) to false.
## 28.2.9 (2025-03-04)
### PDF Viewer
#### Bug Fixes
- `#I688924` - Now, the stamp annotation is displayed correctly in the provided document in the PDF Viewer.
- `#I688583` - Now, we are able to add the signature to the signature field properly after clearing the form field value using the `clearFormFields` method.
## 28.2.7 (2025-02-25)
### PDF Viewer
#### Bug Fixes
- `#I687949` - Now, the Exception will not occur while loading the customer provided document with form fields.
- `#I688986` - Now, the form field bounds values are available in the `formFieldAdd` event.
- `#I691472` - Now, the exception did not occur when trying to print the document without annotation modules.
- Now, the script error did not occur when loading the document with modified toolbar settings.
- `#I689173` - Now, the form field on the non-rendered page does not disappear after filling in the textbox field.
## 28.2.6 (2025-02-18)
### PDF Viewer
#### Bug Fixes
- `#I664230` - Now , the signature annotation will appear in UI upon import when deleted programmatically.
- `#I683048` - Now , the custom stamp image will appear in UI when changing the image source dynamically.
- `#I686411` - Now, the pan mode is not disabled when the Ctrl key is pressed.
- `#I686925`, `#686758` - Now, the `findText` method properly returns the width value for the searched text.
- `#I689347` - Now, the script error no longer occurs when deleting the text markup annotation using the `deleteAnnotationById` method.
## 28.2.5 (2025-02-11)
### PDF Viewer
#### Bug Fixes
- `#I683657` - Now, the scale ratio updated properly when changing the `measurementSettings` dynamically.
- `#I683269` - Now, the form field value is updated properly after disabling read-only mode programmatically.
- `#I675316` - The date and time format is now preserved correctly in the comment panel when importing annotations.
- `#I687098` - Now , the Exception will not occur when downloading the customer provided document with the newly added annotation.
- `#I680877` - Now, the handwritten signature width and height are not swapped for rotated documents.
- `#I682398` - Now, the font height is retrieved properly from the widget annotation.
- `#I686841` - Now , the `customData` will update properly when adding the annotations programmatically.
## 28.2.4 (2025-02-04)
### PDF Viewer
#### Breaking Changes
- `#I661474` - The default preservation of highlight annotations has been enhanced, along with an update to the default highlight color when added programmatically.
## 28.2.3 (2025-01-29)
### PDF Viewer
#### Bug Fixes
- `#I679527` - Now, the annotations no longer disappear when programmatically selecting annotations on a non-rendered page.
- `#I678021` - Now, the order of annotations is properly preserved if the document contains stamp annotations.
## 28.1.41 (2025-01-21)
### PDF Viewer
#### Bug Fixes
- `#I676738` - Now, the radio button is visible on the non-rendered page when saving the document.
- `#I675055`, `#678431` - Now, the script error no longer occurs when using the PDF Viewer in React with `Vite` in production.
- `#I678021` - Now, the free text annotation is not missing when saving a document with Unicode text and newline characters.
- `#I680495` - Now, the annotations are visible in the customer provided document.
#### Breaking Changes
- `#I676549` - In the `pageRenderComplete` event, the page number property now reflects the actual page number instead of the page index.
## 28.1.39 (2025-01-14)
### PDF Viewer
#### Bug Fixes
- `#I674223` - Now, the form field alignment is correctly preserved after downloading the document in a `standalone` PDF Viewer.
- `#I665085` - Now, the PDF viewer no longer crashes when loading large size digital signature document.
## 28.1.38 (2025-01-07)
### PDF Viewer
#### Bug Fixes
- `#I659553` - Now, the text field background color appears as expected.
- `#I662006` - Now, the non-rendered page form fields are properly updated using the `updateFormFieldsValue` method.
- `#I666148` - Now, the page navigation now works correctly for hyperlinks pointing to pages above 100.
## 28.1.37 (2024-12-31)
### PDF Viewer
#### Bug Fixes
- `#I664554` - Now, the `documentId` property is no longer missing in the `ajaxRequestInitiate` event after rotating the PDF pages.
- `#I662588` - A proper error message is now displayed when an invalid base 64 string is loaded in the PDF Viewer.
## 28.1.36 (2024-12-24)
### PDF Viewer
#### Bug Fixes
- `#I551643`, `#I664728` - Now, the script error does not occur when importing the large annotations.
- `#I663071` - Now, the `printStart` event is triggered when printing a PDF using the `Ctrl + P` shortcut.
- `#I662257` - No script error occurs when loading the provided document and scrolling quickly to the end of the page.
- `#I551643`, `#I664728` - Now, the script error does not occur when importing the large annotations.
- `#I663071` - Now, the `printStart` event is triggered when printing a PDF using the `Ctrl + P` shortcut.
- `#I662257` - No script error occurs when loading the provided document and scrolling quickly to the end of the page.
- `#I659553` - Now, the text field background color appears as expected.
## 28.1.35 (2024-12-18)
### PDF Viewer
#### Bug Fixes
- `#I63329` - Now, after the font family is changed, the default font family does not appear in the font family dropdown on the appearance tab.
- `#I646929` - Now, the typed signature appears in the signature field after being added using the custom font.
## 28.1.33 (2024-12-12)
### PDF Viewer
#### New Features
- `#I593597` - Added support for preserving `unicode` text in free text annotations within the `standalone` PDF Viewer.
- `#I630970` - Added support for local session storage in the PDF Viewer.
- Added support for preserving `unicode` text in form fields within the `standalone` PDF Viewer.
#### Bug Fixes
- `#I655125` - Now, the page renders correctly with form fields after zooming in and out on an iOS device.
- `#I655531` - Now, the button field color is rendered properly in the PDF viewer.
- `#I655380` - Now, the `signatureIndicatorSettings` updated properly for the existing signature fields in the document.
- `#I655530` - Now, able to load the provided document when form designer module is enabled.
- `#I653882` - Now, the sticky notes is properly visible by import after delete the annotation using the `deleteAnnotations` API.
## 27.2.5 (2024-12-03)
### PDF Viewer
#### Bug Fixes
- `#I649989` - Now, the image quality of the printed document is properly preserved.
- `#I646167` - Now, the scrolling is consistent during word search at high zoom levels.
- `#I651103` - Now, the tab navigation works properly in the customer provided document.
- `#I641323` - Now, the PDF pages render properly when performing a text search in the provided document.
- `#I641323` - Now, the text search match count is displayed correctly when searching for the first word on a PDF page.
- `#I656223` - Now, the custom stamp dialog opens on the desktop when the enableDesktopMode API is set to true.
- `#I652167` - Now, programmatically setting `fontStyle` to `none` is working properly for the form fields.
- `#I654176` - Now, the programmatically added form field is no longer missing when downloading the digital signature document.
## 27.2.4 (2024-11-26)
### PDF Viewer
#### Bug Fixes
- `#I633354` - Now, the text search highlight is displayed correctly when the searched page contains Unicode text.
- `#I653415` - Now, saving PDF as blob with programmatically aligned Free Text annotations works properly.
- `#I651412` - Now, the signature and initial field indicator text is displayed correctly during minimum zoom.
## 27.2.3 (2024-11-21)
### PDF Viewer
#### Bug Fixes
- `#I651818` - Now, the dropdown values are correctly preserved when opening the PDF document, with different item names and values for the dropdown options.
- `#I645218` - Now, the memory out-of-bounds exception no longer occurs in `Vue 2`.
- `#I645714` - Now, the added text markup annotation bounds and the exported annotation bounds are the same.
- `#I652381` - Now, the signature with custom font is visible properly in downloaded PDF document.
- `#I645043` - Now, the radio button field data is not lost when scrolling through the provided document.
- `#I646730` - Now, the Text Selection and Pan keyboard shortcuts are disabled when the corresponding options are not available in the toolbar.
- `#I635071` - Now, the checkbox form fields are properly checked in the downloaded document.
- `#I645218` - Now, the memory out-of-bounds exception no longer occurs in `Vue 2`.
- `#I645714` - Now, the added text markup annotation bounds and the exported annotation bounds are the same.
- `#I651818` - Now, the dropdown values are correctly preserved when opening the PDF document, with different item names and values for the dropdown options.
- `#I652381` - Now, the signature with custom font is visible properly in downloaded PDF document.
- `#I645043` - Now, the radio button field data is not lost when scrolling through the provided document.
- `#I646730` - Now, the Text Selection and Pan keyboard shortcuts are disabled when the corresponding options are not available in the toolbar.
- `#I635071` - Now, the checkbox form fields are properly checked in the downloaded document.
#### New Features
- `#I593597` - Added support for preserving `unicode` text in free text annotations within the `standalone` PDF Viewer.
## 27.2.2 (2024-11-15)
### PDF Viewer
#### Bug Fixes
- `#I648250` - Now, the form field drag element is active when moving form fields.
## 27.1.58 (2024-11-05)
### PDF Viewer
#### Bug Fixes
- `#I638740` - Now, the comment delete event is properly triggered when the parent comment `div` is deleted.
- `#I646822` - Now, the `formFieldMouseover` event includes both the form field ID and Name.
- `#I637574` - Now, the signature position is accurately rendered in the provided document upon reloading the downloaded file.
- `#I641496` - Now, the annotation signature buttons no longer overflow when the translation string is too long.
## 27.1.57 (2024-10-29)
### PDF Viewer
#### Breaking Changes
- The `getPageDetails` API has been renamed to `getPageInfo`. Additionally, the zoom factor parameter has been removed from the `getPageInfo` API, as the zoom factor can be accessed directly through the `zoomPercentage` API.
| Existing API name| New API Name |
|------|-------------|
| `getPageDetails`| `getPageInfo`|
## 27.1.55 (2024-10-22)
### PDF Viewer
#### Bug Fixes
- `#I638745` - Now, the sticky notes annotation is correctly added when the PDF Viewer window is resized to a smaller size, with the sticky annotation option available in the toolbar dropdown menu.
- `#I637865` - Now, the form field type updates properly when switching fields without adding in the PDF Viewer.
- `#I637742` - Now, the annotations are not missing, and no script errors occur when `enableThumbnail` and `isThumbnailViewOpen` are enabled.
- `#I634412` - Now, the stamp annotation is no longer missing when printing the imported annotations.
## 27.1.53 (2024-10-15)
### PDF Viewer
#### Bug Fixes
- `#I638294` - Now, the notification dialog is not shown for search text with no matches when `showNotificationDialog` API is set to false.
- `#I636244` - Now, the annotation toolbar is programmatically opened on a mobile device using the `showAnnotationToolbar` method.
- `#I637351` - Now, the signature collection ID and ID from the `addSignature` event are the same on mobile devices.
- `#F194443` - Now, the tooltip is properly removed when programmatically removing a form field tooltip using the `updateFormField` API.
- `#I637350` - Now, the PDF Viewer does not stop responding when searching the text.
- `#I637275` - Now, the download option is disabled in mobile mode when `enableDownload` API is set to false.
- `#I633438` , `#I633453` - Now, the invalid file corrupted dialog closes automatically after a valid PDF document is loaded.
- `#I619099` - Now, the delay in searching for text after completing text extraction has been reduced.
- `#I635120` - Now, the undo and redo functions for free text annotations, as well as the ability to change alignment and font size using the `editAnnotation` method, are now functioning correctly.
- `#I608686` - Now, a script error does not occur when trying to update and delete annotations simultaneously after importing them.
- `#I635119` - Now, after programmatically highlighting and deleting text, the text will not be highlighted again unless a new selection is made, as the selection is cleared when the delete method is called programmatically.
- Now, the close button is clickable across all size scenarios when the thumbnail container is resized.
- `#I908781` - Now, the Form field data will be accurately preserved after scrolling, even when form fields with the same name are updated, and the form designer module is not included.
- `#I631265` - Now, the signature is correctly saved in the downloaded document provided by the customer.
#### New Features
- `#I627469` - Added support for retrieving page details, such as the current page size, page rotation and zoom factor, through the `getPageDetails`.
## 27.1.52 (2024-10-08)
### PDF Viewer
#### Bug Fixes
- `#I634439` - Now, the value of the dropdown field name does not set to null in the `formFieldCollections` when the `enableFormDesigner` API is disabled.
- `#I631430` - Now, the form field index is correctly calculated, and `NaN` is no longer added to the form field name when creating new fields from the designer in PDF Viewer.
- `#I631901` - Now, the keyboard shortcuts for the `OpenOption` are disabled when the `OpenOption` item is not included in the toolbar.
## 27.1.51 (2024-09-30)
### PDF Viewer
#### Bug Fixes
- `#I627789` - Now, the context menu for form fields opens properly in desktop touch mode.
- `#I630341` - Now, the text is properly aligned in the freetext annotation when using the subject property.
- `#I629789` - Now, the `IsDocumentEdited` property set to false when loading the customer provided PDF document.
- `#I632424` - Now, the object reference error won't occur when downloading with the dropdown field after updating the dropdown options programmatically.
- `#I627479` - Now, the browse button is working properly when dynamically changing enableFormFields API value.
- `#I635120` - Now, After adding a freetext, changing the alignment and font size, the undo and redo functions working properly.
- `#I635116` - Now, Freetext annotation appeared properly when update the alignment styling.
- `#I635117` - Now, the undo and redo actions is properly working when perform the cut and paste action.
- `#I630883` - Now, resizing the form field on the first page doesn't hide the form field on the third page.
- `#I630441` - Now, the `pageMouseover` event is triggered without annotation and form designer modules.
## 27.1.50 (2024-09-24)
### PDF Viewer
#### Bug Fixes
- `#I626172` - Now, stamp annotation is saved properly when adding custom Data property.
- `#I631717` - Now, Free text author and comment characters are not changed when importing the exported annotation.
- `#I632150` - Now, the handwritten signature is properly selected after being added to the PDF viewer on a mobile device.
- `#I626892` - Now, the large document opens in `standalone` PDF Viewer.
- `#I632511` - Now, the fetch request is not sent if the URL is set to the document path on the Server-Backed PDF Viewer.
- `#I632378` - Now, copy paste is working with formfields when `enableFormDesigner` as false.
- `#I631207` - Now, the `textmarkup` annotations are not unselected when changing the properties programmatically.
- `#I627322` - Now, the Form fields can not be moved outside of the document.
## 27.1.48 (2024-09-18)
### PDF Viewer
#### Bug Fixes
- `#I620380` - Now, the sticky note annotation was added correctly along with the comment programmatically inside the annotationAdd event without any exceptions.
- `#I624857` - The `ArgumentOutOfRangeException` no longer occurs when clicking the submit button in the provided document.
- `#F194120` - The bookmark navigation now works properly in the provided document.
- `#I619099` - The pages now render properly when navigating to the searched text continuously.
- `#I626710` - Now, the signature is added to the correct signature field when switching the mobile device from portrait to landscape orientation.
#### Features
- Added support to import PDF documents within the Organize Pages dialog, enabling users to incorporate pages from other PDFs into the current document.
- `#F181628` , `#I482858` , `#I488268` , `#I494793` , `#I595206` - Introduced the ability to programmatically add handwritten signatures and initial annotations in PDF documents.
- `#F183710` , `#I470260` - Implemented options to customize print quality in the PDF Viewer, allowing users to select different quality levels to balance print clarity with processing speed.
- Enabled multi-word search functionality within the PDF Viewer.
- `#I592524` , `#I598159` - Added support for loading custom fonts in `PDFium` WASM to ensure proper rendering of page content.
- `#I340793` , `#I345576` , `#I359942` , `#I379567` , `#I386590` , `#I605421` , `#I607974` - Added support for custom fonts in the `TypeHere` signature and initial fields.
### Breaking Changes
- In the Server-backed PDF Viewer, two action methods, `RenderPdfTexts` and `ValidatePassword`, are now required in the controller for proper functionality. This change is necessary because text extraction for PDF documents has been separated by default. Additionally, when importing a new PDF document in the organize window, a protected document validation check must be performed before the import.
- **Solution** : To update the `PDFViewerController` file on your server, refer to the framework-specific sample repository available [here](https://github.com/SyncfusionExamples/EJ2-PDFViewer-WebServices/tree/main) for guidance.
## 26.2.12 (2024-09-03)
### PDF Viewer
#### Bug Fixes
- `#I621133` - The `IsDocumentEdited` API does not return true for documents with form fields.
- `#I620047` - Now, the text markup annotation rotation is correctly rendered after rotating the PDF pages.
- `#I625999` - Now, the free text annotation font size is updating properly.
- `#I620349` - Now, the `FormFieldPropertiesChange` event is triggered when adding or deleting the dropdown options.
- `#I622415` - Now, the able to copy text from the input box of the search dialog.
- `#I626450` - Now, no more console errors occur when focusing on the PDF Viewer.
- `#I626966` - The invalid behavior of font alignment and font color tools in the `annotationToolbarItems` has been resolved now.
- `#I626108` - The polygon annotation is now preserved properly when adding and rotating the pages.
- `#I627416` - Now, the form field background color is now correctly updated when changing form field visibility from `hidden` to `visible` mode.
- `#622761` - Now, `ValidateFormFieldsArgs` is triggered properly when the submit button is clicked.
## 26.2.11 (2024-08-27)
### PDF Viewer
#### Bug Fixes
- `#I614031` - Now, able to insert capital `H` and `V` in multiline textbox fields in PDF Viewer when holding `SHIFT` key.
- `#I622939` - Now, able to insert capital `H` and `V` in search text in PDF Viewer when holding `SHIFT` key.
- `#I619818` - Now, the annotation select event is triggered in provided document.
- `#I624012` - Now, the font size of the type signature is correctly preserved in the downloaded document.
- `#I618143` - Now, the password-protected PDF document is properly exported to an image using the server library.
## 26.2.10 (2024-08-20)
### PDF Viewer
#### Bug Fixes
- `#I614475` - Now, when deleting a signature field image after zooming in the image is removed and does not remains visually presented on the screen.
- `#I615933` - Now, the Radio button retains selection when clicked more than once.
- `#I615285` - Now, form fields are being correctly retrieved from the widget in the provided document.
- `#I612386` - Now, the checkbox and radio button size is increased properly using `updateFormField` method.
## 26.2.9 (2024-08-13)
### PDF Viewer
#### Bug Fixes
- `#I612252` - Now, the `ArgumentOutOfRangeException` does not occurs while attempting to download the provided document.
- Now, the script error does not occurs when searching the non-matched word in the document without magnification module.
- `#F189402` - Now, the PDF viewer can load the PDF document as a blob URL.
- `#F190306` - Now, the script error does not occur when loading the provided document.
## 26.2.8 (2024-08-06)
### PDF Viewer
#### Bug Fixes
- `#I607610` - Now, we are able to click the checkbox field in the customer-provided document on mobile devices.
- `#I608686` - Now, the script error no longer occurs when deleting the added annotations using the `deleteAnnotations` API.
- `#I612530` - Now, able to copy text from form field text boxes using Ctrl+C.
- `#I612848` - Now, the form fields can not be pasted out of the page.
- `#I609340` - Now, the invalid error message is not displayed when loading an incorrect file path in stand-alone mode.
## 26.2.7 (2024-07-30)
### PDF Viewer
#### Bug Fixes
- `#608779` - Now, the signature field value is not removed from `formFieldCollections` when updating visibility programmatically.
## 26.2.5 (2024-07-26)
### PDF Viewer
#### Bug Fixes
- `#I605917` - Now, duplicate form fields are not added to the collection when loading the provided document.
- `#I610387` - Now, the spinner shown properly when we click the save button in the organize dialog.
- `#I611496` - Now, the page render request is sent correctly when the `zoomMode` is set with a specific viewer container size and the page render request is not sent if `restrictZoomRequest` is set to true and `enableTileRendering` is set to false.
## 26.2.4 (2024-07-24)
### PDF Viewer
#### Bug Fixes
- `#I604925` - Now, the stamp annotation is updated correctly in the downloaded PDF.
- `#I609434` - Now, the `Approved` stamp rendered properly in the stand-alone PDF viewer when exporting/importing as an object.
- `#I603747` - Now, the PDF document is loaded properly in the PDF Viewer when disposing of the PdfRenderer object.
## 26.1.42 (2024-07-16)
### PDF Viewer
#### Bug Fixes
- `#I592444` - Now, the size of the focused free text annotation remains unchanged when pressing the Alt key.
- `#I609398` - Now, the script error does not occurs when selecting the custom stamp with customized `stampSettings`.
- `#I608331` - Now, the `FormFieldRemove` event is not triggered when resizing the form field.
- `#I609661` - Now, the Pages are rendered properly when navigating to the pages using the `goToBookmark` method.
- `#F189033` - Now, the print preview images are displayed properly on the Safari browser on an iPhone device.
## 26.1.41 (2024-07-09)
### PDF Viewer
#### Bug Fixes
- `#I605035` - Now, the script error does not occurs when using display mode as type alone in signature field.
- `#I605293` - Now, the script error does not occurs when updating the PDF Viewer height value programmatically on mobile devices.
- `#I601076` - Now, the annotation with author and subject are not missing in downloaded PDF.
- `#I602512` - Now, the comment `div` is no longer created when an annotation is pasted onto a different page.
## 26.1.40 (2024-07-02)
### PDF Viewer
#### Bug Fixes
- `#I598100` - Now, when importing the position of the exported ink annotation is correct.
- `#I598074` - Now, the annotations are not missing in `annotationCollection` after undo action.
- `#I599164` - Now, the highlight position is working properly for OCR documents in client and server-side rendering.
- `#I597488` , `#I599166` - Now, the page rendering performance has been increased.
- `#I599114` - Now, the required page requests are only sent when we scroll using the mouse or touchpad.
- `#I598716` - Now, the signature field indicator is placed in correct position in the provided document without `FormDesigner` module.
- `#I598109` - Now, the performance issue did not occur when updating multiple form fields at once.
## 26.1.39 (2024-06-25)
### PDF Viewer
#### Bug Fixes
- `#I598098` - Now, the undo function works properly when the ink annotation mode is not ended after adding.
- `#I599963` - Now, the form field property name updates correctly when added programmatically.
- `#I587763` - Now, the form field value that starts with `«` will be visible in the downloaded document.
- `#I597258` - Now, the thumbnail image is loaded properly when using `IDistributedCache` only as parameter.
- `#I600864` , `#I58620` , `#I601654` - Now, the blank page does not appear when loading the customer-provided document in server-side rendering.
- `#I599889` - Now, able to include the capital `H` in the text fields without `FormDesigner` module.
- `#I595214` - Now, the locked Custom stamp is not able to edited when opened in Adobe.
## 26.1.38 (2024-06-19)
### PDF Viewer
#### Bug Fixes
- `#I589042` - Now, the textbox field font size is does not increase automatically when zoom percentage increases.
- `#F188158` - Now, script error does not occurred when searching the non-matched word in the provided document.
- `#I587591` - Now, the stamp is updated correctly after reloading the resized stamp.
- `#I593317` - Now, the signature and initial background color is preserved upon reloading the downloaded document.
- `#I591009` - Now, the radio button name does not changes upon reloading the downloaded document.
- `#I591558` - Now, the ink annotation comment was not missing when importing the annotation sequentially in Stand-alone mode.
- `#I586497` - Now, the stamp annotation rendered properly when the PDF document is loaded with `EditContent` restrictions.
- `#I590035` - Now, the handwritten signature is exported properly when the `isSignatureEditable` API is set to true.
- `#I587843` - Now, the checkbox state is properly preserved when saving the provided document, even though the form designer module was not injected.
- `#I591558` - Now, the selector style applied for programmatically added annotation.
- `#I588798` - Now, the date time in the comment panel is not updated automatically upon export and import after locking annotations.
## 26.1.35 (2024-06-11)
### PDF Viewer
#### Bug Fixes
- `#I591752` - Now, the textbox field and comment panel focused when entering `Shift + H` and `Shift + V` characters.
#### Features
- Experience seamless page movement, allowing you to reorder pages effortlessly.
- Effortlessly duplicate pages to better manage your documents.
- Quickly undo or redo changes made within the organize pages dialog for a smoother editing experience.
- Enabled minimum and maximum zoom settings in the PDF Viewer for enhanced control over zoom levels.
## 25.2.7 (2024-06-04)
### PDF Viewer
#### Bug Fixes
- `#I583706` - Now, the PDF Viewer scroll bar was not updated after deleting the existing value using API from the signature field.
- `#I587314` - Now, the text markup annotations is properly locked using isLock and `isCommentLock` properties.
- `#I589575` - Now, the links are loaded correctly when navigate and return to same page.
- `#I581546` - Now, able to download PDF from AWS S3 signed URL in mobile device.
- `#F188158` - Now, script error does not occurred when searching the non-matched word in the provided document.
## 25.2.6 (2024-05-28)
### PDF Viewer
#### Bug Fixes
- `#I586371` - Now, the page does not become unresponsive when search multiple text.
- `#I586065` - Now, the `isDocumentEdited` API is set to true after making changes in the organize dialog.
- `#I587851` - Now, the signature field saved properly when using the provided code snippet for the customer.
- `#I585582` - Now, the text selection is working properly for OCR documents in client-side rendering.
- `#I586473` - Now, the signature dialog opens properly when using the provided code snippet for the customer on a mobile device.
- `#I574463` - Now, the script error does not occur when updating form fields in non-rendered pages.
## 25.2.5 (2024-05-21)
### PDF Viewer
#### Bug Fixes
- `#I582982` - Now, the Undo does not retains the deleted annotation in annotation collection.
- `#I577813` - Now, the document is loading properly without any script errors when a value has already been included in the session storage by default.
- `#I580839`, `#I580793` - Now, the extra page is not appeared in the print preview when print the provided document.
- `#I586052` - Now, able to use markup annotations over shape annotations.
- `#I583019` - Now, the annotation collection and action collection will match in multiple undo.
- `#I582676` - Now, the annotation order in the comment panel does not change when adding new annotations in client-side rendering.
- `#I586408` - Now, the form field ID is not missing in `FormFieldResizerArgs` event.
- `#I577318`, `#I577549` - Now, the `deleteFormField` method is working properly for the non-render pages.
- `#I582388` - Now, the form field tab order is working properly for the customer-provided document.
- `#I583890` - Now, the Edit and Delete option will get disabled when use `isCommentLock`.
## 25.2.4 (2024-05-14)
### PDF Viewer
#### Bug Fixes
- `#I575320` - Now, the Form Fields data does not wrongly appear when exporting.
- `#I581452` - Now, the form field background and border color are set to transparent properly.
- `#I585089` - Now, the annotation selector is properly removed when undoing annotations in select mode.
- `#I575320` - Now, the Form Fields data does not wrongly appear when exporting.
## 25.2.3 (2024-05-08)
### PDF Viewer
#### Bug Fixes
- `#I51830`- Now, the form field signature does not shift upwards every time the document is saved.
- `#I573912` - Now, the custom image signature does not appears bold when opening the saved document.
- `#I576319` - Now, the `extractTextCompleted` event was triggered properly in client-side rendering.
## 25.1.42 (2024-04-30)
### PDF Viewer
#### Bug Fixes
- `#I580966` - Now, the script error will not occur after deleting the stamp annotation with customized annotation selector settings.
- `#I582426` - Now, the old JSON data will be imported in PDF Viewer without any issues.
- `#I576350` - Now, the customer-provided document will be downloaded without any issues or script errors.
- `#I576386` - Now, the script error will not occur after removing the `selectorLineDashArray` property.
- `#I572623` - Now, the signature rendered properly after loading the customer-provided document in client-side rendering.
## 25.1.41 (2024-04-23)
### PDF Viewer
#### Bug Fixes
- `#I578038` - Now, the script error will not occur after resizing the annotations for ink, stamp and signature annotations.
- `#I558650` - Now, the customer document will get loaded without any issue or script error.
- `#I573798` - Now, the form fields are properly preserved in the provided document when saving it.
- `#I574104` - Now, the cursor position change when pressing the left and right arrow keys in the text box fields.
- `#I572302` - Now, the form field validation event was not triggered when the Form Designer module was removed.
- `#I559996` - Now, the freeText annotations are updating properly with editAnnotation method.
## 25.1.40 (2024-04-16)
### PDF Viewer
#### Bug Fixes
- `#I571265` - Now, the author name is not changed for shape and free text annotations upon saving the document.
- `#I572045` - Now, the transparent background color is not changed to black upon importing exported annotation and saving the document.
- `#I572061` - Now, the Stand-alone saved PDF document with a `Not Approved` dynamic stamp does not throw an error when opened in Adobe.
- `#I569884` - Now, the script error is not occurred when setting the text markup annotation module to false.
- `#F187662` - Now, the exception is not occurred when right clicking the form fields in the provided document.
- `#I572289` - Now, the exception does not occur when dynamically loading PDF documents in Stand-alone mode.
## 25.1.39 (2024-04-09)
### PDF Viewer
#### Bug Fixes
- `#I571236` - Now, the extra border will not appear on the page for the image element in the tagged PDF.
- `#I569364` - Now, the form field click event is triggered prope