Add a PDF Viewer Add-On Graphic to a screen or popup
PDF Viewer Add-On Graphics contain a PDF graphic element and the predefined commands for navigating and zooming the PDF document on the HMI device. Add the PDF Viewer Add-On Graphic and specify the PDF document that opens on the HMI device.
Prerequisites
- Create bookmarks for the PDF document prior to adding the PDF document inView Designer.
To Add a PDF Viewer Add-On Graphic to a screen or popup
- In theToolbox, expand theAdd-On Graphicscategory and double-click a PDF Viewer Add-On Graphic:
- PDF_Viewer.Occupies the entire screen on a seven-inch or nine-inch HMI device.
- PDF_Viewer_Landscape.Occupies the entire screen on a 10-inch HMI device and a portion of larger HMI devices. The PDF_Viewer_Landscape Add-On Graphic is not available on seven-inch or nine-inch HMI devices.
- PDF_Viewer_Portrait.Occupies half of the screen on a 10-inch HMI device. The PDF_Viewer_Portrait Add-On Graphic is available on 10-inch or larger HMI devices.TIP:Tips:
- Each screen has a limit of displaying two PDF documents. This includes both PDF Viewer Add-On Graphics and PDF graphic elements.
- PDF documents on the HMI device support internal links for navigation within the PDF document. PDF documents on the HMI device do not support external links. PDF links cannot navigate outside of the PDF document on the HMI device.
- PDF files that contain complex drawings take longer to render. For example, if a PDF document contains an image comprised of individual shapes such as lines, circles, and rectangles, that image takes longer to render than a drawing that is a single image.
- In thePropertieswindow, expand theGeneralcategory.
- Configure the required properties:
- DocumentName- The PDF document shown on the HMI device. Select the PDF document for the Add-On Graphic.
- PageNumber- Type the page number of the PDF document to initially open on the HMI device.
- Zoom- Select the zoom factor.TIP:Tips:
- Add a PDF Viewer Add-On Graphic to a screen or popup from theProject Explorerby expanding theAssets > Add-On Graphicsfolders and then dragging the PDF_Viewer Add-On Graphic or right-clicking the PDF_Viewer Add-On Graphic and selectingAdd Add-on Graphic to (screen name).
- Adding a PDF document from theAssets > Documentsfolder of theProject Exploreropens theSelect PDF Viewerdialog box to select the PDF Viewer or PDF graphic element to display the PDF graphic element on the HMI device. If the definition of an Add-On Graphic contains only one PDF graphic element that has an alias for the DocumentName property of the PDF graphic element, that Add-On Graphic appears in theSelect PDF Viewerdialog box.
- Do not rotate the PDF graphic element or a PDF Viewer Add-On Graphic. Rotating an element containing a PDF document reduces the clarity of content in the PDF document and prevents zooming and navigating the PDF document on the HMI device.
Provide Feedback