You're currently browsing the Ignition 8.0 docs. Click here to view the latest docs.


Component Palette Icon:


PDF Viewer


The PDF Viewer component displays a PDF that's hosted on a web server by providing a URL to the source property. A simple approach is to create either a File Resource or Mounted Folder within Web Dev, and set the source on the component to the resource's endpoint. 


Most Properties have binding options. For more information on Bindings, see Types of Bindings in Perspective.
This section only documents the Props Category of properties. The other Categories are described on the Perspective Component Properties page.

NameDescriptionProperty Type
sourcePath to the .pdf file to be displayed. Expects a URL to a PDF hosted on a web server.value: string
pageThe current page being displayed.value: numeric
pageCountThe number of pages the pdf contains. Read only.value: numeric
showPageNumberIf true, the current page number and page count will be shown at the bottom of the component.value: boolean
styleSets a style for this component. Full menu of style options is available for text, background, margin and padding, border, shape and miscellaneous. You can also specify a style class.object

Perspective Component Events

The Perspective Event Types Reference page describes all the possible component event types for Perspective components. Not all component events support each Perspective component. The Component Events and Actions page shows how to configure events and actions on a Perspective component. Component scripting is handled separately and can be accessed from the Component menubar or by right clicking on the component.

Scripting Functions

The following feature is new in Ignition version 8.0.3
Click here to check out the other new features

  • Description

This function will reload the PDF in the PDF Viewer component.

  • Parameters

string name - The name of the PDF

  •  Return


  • No labels