Some test text!

Search
Hamburger Icon

Web / Guides

Applying page manipulations to PDFs directly in the client

When WebViewer is running in client only mode it is able to perform many different kinds of page manipulations. These include rotating, cropping, reordering, adding, and deleting pages. Instead of temporarily modifying the document in the viewer, these operations modify the actual PDF data.

This means that when the download button is pressed or getFileData is called, the returned PDF will have the manipulations applied and they will be visible in any PDF viewer.

If you're using the WebViewer Server deployment option then you'll need to enable the forceClientSideInit: true constructor option. This will initialize the document with WebViewer Server and then switch to client side processing.

Get the answers you need: Chat with us