Skip to content

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.invoke enables undo/redo for annotation APIs.
  • Remove watermarks: New API pdfdoc.removeAllWatermarks removes all watermarks in a document.
  • Collapse/expand the ribbon: New directives @retractable and @retractable-body control tab components to show or hide the ribbon.
  • Viewer-level tiled watermarks: Updated PDFPageRender:setWatermarkConfig and PDFDocRender:setWatermarkConfig for tiled watermark rendering.
  • Check PDF owner password: New checkPassword for password type and hasOwnerPassword to detect owner password.
  • Non-proportional stamp resize: New enableFrame in AnnotComponentConfig for horizontal or vertical stamp resizing.
  • UIX addon API improvements: UIExtension.addons replaces PDFUI.callAddonAPI; new PDFUI.getAddonInstance for async addon instances.
  • Theme colors: New setThemeColor API.
  • 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 /path entries.

Demos ​

  • Storage API demo: examples/UIExtension/custom-storage-driver/index.html shows 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.