This page shows how to get started with Wijmo's PdfViewer control.
Steps for getting started with the PdfViewer control in JavaScript applications:
The C1 Web API PDFDocument Services uses C1PdfDocumentSource to render and export pdf files. Please refer to How to set up C1 Web API PDFDocument Services for details.
To show the pdf file from C1 Web API PDFDocument Services, set the following basic properties:
The 'PdfRoot' is the key of the pdf file disk storage provider, which is registered at server for locating the specified pdf file.
The 'DefaultDocument.pdf' is the relative path of the pdf file, which can be located by the disk storage provider.
The PdfViewer control has the following four basic properties, which allow you to customize its appearance and behavior:
The example below allows you to see what happens when you change these properties.