PrizmDoc Hybrid Viewing: Reduce server viewing requirements and streamline document processing
Read More
Enable your employees to remain productive throughout the document management process.
Learn how SmartZone uses a regular expression engine integrated into the recognition engine to achieve the best possible accuracy on data that can be defined by a regular expression.
The tale of how an underdog is going head-to-head with a tech giant (and winning).
Normally, when I create a viewer in my own application, I do:
viewer = $("#some-div").pccViewer({ ...options });
Then I can make calls like:
viewer.viewerControl.search("Some search term.");
But in the legacy samples the Viewer isn’t set to a global variable. How can I access the viewerControl object?
If you call $("#some-div").pccViewer(); without any arguments, it will access the existing Viewer in the relevant <div> instead of creating a new one. For example, in the WebForms sample, var viewer = $("#viewer1").pccViewer(); will create a reference to the sample’s existing Viewer.
$("#some-div").pccViewer();
<div>
var viewer = $("#viewer1").pccViewer();