WjPdfViewer Class

File
wijmo.angular.js
Module
wijmo.angular
Show
   

AngularJS directive for the PdfViewer control.

Use the wj-pdf-viewer directive to add pdf viewer to your AngularJS applications. Note that directive and parameter names must be formatted as lower-case with dashes instead of camel-case. For example:

<wj-pdf-viewer  paginated="false"
  service-url="ctx.serviceUrl"
  file-path="ctx.path"
  report-name="ctx.reportName">
</wj-pdf-viewer;

The wj-pdf-viewer directive supports the following attributes:

service-url
@A value indicating the address of C1 Web API service.
file-path
@ A value indicating full path to the document on the server.
control
= A reference to the PdfViewer control created by this directive.
full-screen
@ A value indicating whether viewer is under full screen mode.
zoom-factor
@ A value indicating the current zoom factor to show the document pages
select-mouse-mode
@ A value indicating whether clicking and dragging with the mouse in the view panel selects text.
initialized
& This event occurs after the binding has finished initializing the control with attribute values.
is-initialized
= A value indicating whether the binding has finished initializing the control with attribute values.
view-mode
@ A value indicating how to show the document pages.
page-index-changed
& The pageIndexChanged event handler.
view-mode-changed
& The viewModeChanged event handler.
select-mouse-mode-changed
& The selectMouseModeChanged event handler.
full-screen-changed
& The fullScreenChanged event handler.
zoom-factor-changed
& The zoomFactorChanged event handler.
query-loading-data
& The queryLoadingData event handler.