Some test text!

Hamburger Icon

Web / Guides / 3D annotation

Create 3D Annotations in WebViewer

Note that currently 3D annotations are viewable inside of WebViewer but will not be merged into the PDF when downloaded. They can be exported and imported from XFDF to support viewing and saving inside of WebViewer.

WebViewer supports adding, manipulating and viewing 3D annotations since version 8. Users can select a glTF/GLB File (GL Transmission Format) either locally or from a URL and the model will be displayed on the page as an interactive annotation.

Enable 3D Annotation tool

The 3D annotation button is turned off by default. To enable it, you can use the enableElements API:

const wvElement = document.getElementById('viewer');
WebViewer({ ...options }, wvElement).then(() => {
  instance.UI.enableElements([ 'threeDToolGroupButton' ]);
3D annotation button in tool bar


Similar to other annotation types, 3D annotations allow basic operations like moving, resizing, commenting, adding URL/Page link and deleting.

3D annotation move/resize

The 3D annotation also supports rotation (shift + mouse move) and zoom operations (shift + mouse wheel)

3D annotation rotation/zoom

Get the answers you need: Chat with us