Add an event command to interact with a PDF graphic element

Add an event command to interact with a PDF graphic element

Create an event to navigate pages or change the view in a PDF document. Add a PDF navigation command to a touch or key event to navigate to the previous page, next page, or a specific page in a PDF.
Prerequisites
  • Create an event to trigger the command:
    • Touch press.
      Occurs when touching the item on the screen that is configured with the event.
    • Touch release.
      Occurs when releasing the item on the screen that is configured with the event.
    • Key press.
      Occurs when
      pressing the specified key.
    • Key release.
      Occurs when releasing the specified key.
To create an event command to interact with a PDF Viewer graphic element
    1. Select the graphic element configured with the touch or key event.
    2. In the
      Properties
      pane on the
      Events
      tab, select
      Add Command
      .
    Expand the
    PDF
    category and select and configure the command:
    • Next Page
      . Navigates to the next page in the PDF when the event triggers.
    • Previous Page.
      Navigates to the previous page in the PDF when the event triggers.
    • Go to Page
      . Navigates to the specified page in the PDF. In the
      Page
      box, enter the page number to display when the event triggers.
    • Zoom In
      . Increases the document magnification by a percentage of the preset level in a PDF document. In the
      ByPercent
      box, enter a value to increase magnification.
    • Zoom Out
      . Decreases the document magnification by a percentage of the preset level in a PDF document. In the
      ByPercent
      box, enter a value to decrease magnification.
    • Zoom To
      . Adjusts the magnification of the PDF to fit an entire page, fit the width of the page, or show the page at 100% in the PDF Viewer. In the
      Zoom
      list, select a magnification option.
      TIP:
      Tips:
      • Bind a PDF command property value to a tag in a controller to change the PDF property dynamically on the HMI device. If there is a problem with a tank, bind the specific page number of the PDF document to a tag for user assistance. The controller opens the document to the specified page explaining how to fix the issue.
      • Project events do not support PDF commands.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.