Foxit PDF SDK for Web 9.2.0 ​
Release date: November 14, 2023
New features ​
- Annotation APIs with undo/redo: New callback addon function
UndoRedoAddon.invokeenables undo/redo for annotation APIs. - Remove watermarks: New API
pdfdoc.removeAllWatermarksremoves all watermarks in a document. - Collapse/expand the ribbon: New directives
@retractableand@retractable-bodycontrol tab components to show or hide the ribbon. - Viewer-level tiled watermarks: Updated
PDFPageRender:setWatermarkConfigandPDFDocRender:setWatermarkConfigfor tiled watermark rendering. - Check PDF owner password: New
checkPasswordfor password type andhasOwnerPasswordto detect owner password. - Non-proportional stamp resize: New
enableFrameinAnnotComponentConfigfor horizontal or vertical stamp resizing. - UIX addon API improvements:
UIExtension.addonsreplacesPDFUI.callAddonAPI; newPDFUI.getAddonInstancefor async addon instances. - Theme colors: New
setThemeColorAPI. - Dynamic XFA form rendering.
- Advanced editor on mobile devices.
- New UI APIs and events exposed for the advanced editor addon.
- Edit/delete polygons and polylines with
/pathentries.
Demos ​
- Storage API demo:
examples/UIExtension/custom-storage-driver/index.htmlshows storing and retrieving operation data. - Show/hide ribbon:
examples/UIExtension/retractable-tab/demonstrates ribbon visibility.
Bug fixes ​
- Fixed inaccurate position after
pdfviewer.zoomAtPosition. - Fixed "Uncaught (in promise) RangeError: offset is out of bounds" after verifying signatures in some files.
- Fixed custom stamps always using the first stamp image due to caching.
- Fixed discontinuous ink and content loss when writing with a stylus.
- Fixed pencil drawing lag when zooming during editing.
- Fixed pages not centered when changing page layout or resizing the browser in documents with inconsistent page sizes.
- Fixed render failures when turning pages during rendering in specific documents.