Change a property value for a PDF graphic element

Change a property value for a PDF graphic element

Change the property values of a PDF graphic element to change its appearance and behavior on the HMI device. Bind a property to a tag to update the property on the HMI device. For example, bind PageNumber to open a specified page dynamically when a state or alarm condition is reached. Use property-to-property binding to write a value to the property from another element or command event. For example, use a Numeric Input to write to the PageNumber property to change the PDF document to a specific page.
To change a property value for a PDF graphic element
  1. Select the PDF graphic element on the screen, popup, or in the definition of an Add-On Graphic.
  2. In the
    Properties
    window, select the
    Properties
    tab.
  3. Expand the
    General
    category to display a property and change:
    • DocumentName.
      Select the document the PDF graphic element displays on the HMI device.
    • PageNumber.
      Enter the initial page number to show in
      View Designer
      and to open in the PDF document on the HMI device. Binding opens a specific page in the PDF document when the controller reaches the tag in the controller or by writing a value to the PageNumber property from another graphic element. The specified page in the PDF graphic element opens to resolve the issue, such as a state or alarm condition.
    • Zoom.
      Select the default zoom setting for the PDF document on the HMI device. The value of the Zoom property when the screen with the PDF graphic element opens determines the initial zoom settings. Binding zooms by reaching a tag in the controller or by writing a value to the Zoom property from another graphic element.
      • Fit width.
        Expand the width of the PDF document.
      • Fit page.
        Expand the size of the PDF document to fit the PDF to the size of the PDF graphic element.
      • Actual Size.
        Change the size of the PDF document to the actual size of the document. This may require scrolling on the HMI device.
        TIP:
        The
        PageCount
        property displays the total number of pages in the PDF document on the HMI device. Changing the value in the
        PageCount
        property is not supported. This property value is View only.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.