Feature modules in ASP.NET MVC PDF Viewer

The PDF Viewer features are organized into individual feature modules to enable selective referencing in your application. Inject the required modules to extend functionality. The following modules can be included as needed:

The available PDF Viewer modules are:

  • Toolbar:- Built-in toolbar for better user interaction.
  • Magnification:- Perform zooming operation for better viewing experience.
  • Navigation:- Easy navigation across the PDF pages.
  • LinkAnnotation:- Easy navigation within and outside of the PDF document.
  • ThumbnailView:- Easy navigation with in the PDF document.
  • BookmarkView:- Easy navigation based on the bookmark content of the PDF document.
  • TextSelection:- Select and copy text from a PDF file.
  • TextSearch:- Search a text easily across the PDF document.
  • Print:- Print the entire document or a specific page directly from the browser.
  • Annotation:- Annotations can be added or edited in the PDF document.
  • FormFields:- Preserve the form fields in the PDF document.
  • FormDesigner:- Form fields can be added or edited in the PDF document.

NOTE

In addition to injecting the required modules in your application, enable the corresponding properties to extend the functionality for a PDF Viewer instance. Refer to the following table.

Module Property to enable the functionality for a PDF Viewer instance
Toolbar @Html.EJS().PdfViewer("container").EnableToolbar(true).Render()
Magnification @Html.EJS().PdfViewer("container").EnableMagnification(true).Render()
Navigation @Html.EJS().PdfViewer("container").EnableNavigation(true).Render()
LinkAnnotation @Html.EJS().PdfViewer("container").EnableHyperlink(true).Render()
ThumbnailView @Html.EJS().PdfViewer("container").EnableThumbnail(true).Render()
BookmarkView @Html.EJS().PdfViewer("container").EnableBookmark(true).Render()
TextSelection @Html.EJS().PdfViewer("container").EnableTextSelection(true).Render()
TextSearch @Html.EJS().PdfViewer("container").EnableTextSearch(true).Render()
Print @Html.EJS().PdfViewer("container").EnablePrint(true).Render()
Annotation @Html.EJS().PdfViewer("container").EnableAnnotation(true).Render()
FormFields @Html.EJS().PdfViewer("container").EnableFormFields(true).Render()
FormDesigner @Html.EJS().PdfViewer("container").EnableFormDesigner(true).Render()

See also