Search

User Manual

GETTING STARTED


MODULES AND PLATFORM


APPENDIX


TUTORIALS & HELPFUL TRICKS


GLOSSARY


STRATEGIC PARTNER LINKS

Sepasoft - MES Modules
Cirrus Link - MQTT Modules

RESOURCES

Inductive University
Ignition Demo Project
Knowledge Base Articles
Forum
IA Support
SDK Documentation
SDK Examples

ALL USER MANUAL VERSIONS

Ignition 8.1
Ignition 7.9
Ignition 7.8

Deprecated Pages

Skip to end of metadata
Go to start of metadata


General

Component Palette Icon:





IULocgo


PDF Viewer

Description

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. 

Properties

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

 .reload()
  • Description

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

  • Parameters

string name - The name of the PDF

  •  Return

Nothing

  • Scope

Session


  • No labels