PrizmDoc Viewer Code Examples
Find out just how easy it is to implement PrizmDoc Viewer into your application.
Code Examples: PrizmDoc Viewer
Annotate with the API
The example changes the UI of the viewer so that there are two buttons, clicking one calls the method to add the “Approved” stamp and the other to add the “Rejected” stamp.
Basic Embedding of the Viewer
Configure the viewer’s UI
The viewer’s UI can be configured when it is created, by setting properties of the options argument.
Add your own controls (buttons, tabs, panels, etc) outside the viewer and use these to control the viewer.
Embed the thumbnail control outside of the viewer and use it to navigate pages within your document.
Printing Custom Paper Sizes
This code example demonstrates adding A4 page size into printing options.
Subscribe to Events
This example demonstrates using the viewer’s API to subscribe to all of the viewer’s events.
Use advanced Annotation Layers features to manage user access to individual layers.
Using MouseHover events to implement tool tips
Create custom tooltips for mark objects by using MouseHover events.