Some test text!

platform
search

WebViewer Server

Contents

Getting started
Setting up the server
Accessing the demo
WebViewer integration
Browser support
Running on Cloud Services

A trial key is needed to use and download Webviewer Server

Get Your Free Trial License Key

WebViewer Server is a drop-in backend for WebViewer that offers responsive viewing and compatibility across all client platforms (including mobile), along with scaling performance that approaches purely client-side solutions. It works hand-in-hand with WebViewer on the client, initially serving images then transitioning to client-side rendering.

linkGetting started

linkSetting up the server

  1. The server sample uses Docker technology, which requires Windows 10, Windows Server 2016, or a Linux distribution. In theory, any system is sufficient as long as Docker can be installed. Install the appropriate package from https://docs.docker.com/engine/installation/
  1. Sign up for a free trial and download Webviewer Server
  2. Start the server

Open a command line, navigate to the directory of the unpacked archive and call:

docker-compose up

You should be up and running at this point.

linkAccessing the demo

Once the server is running, the demo viewer app is accessible at http://localhost:8090/demo/?s

linkWebViewer integration

Once the docker container is up-and-running, then it can be used by supplying the pdftronServer argument to WebViewer upon startup:

options.pdftronServer = 'http://localhost:8090/';
var myWebViewer = new PDFTron.WebViewer(options, viewerElement);

linkBrowser support

ChromeFirefoxSafariEdgeInternet ExplorerAndroid ChromeMobile Safari
9+

linkRunning on Cloud Services

Contents

Getting started
Setting up the server
Accessing the demo
WebViewer integration
Browser support
Running on Cloud Services