Google PDF Preview
The Google PDF Preview Component is part of the Content Component Set. With this Component, a PDF stored in Documents can be displayed directly on a digital experience page. The Component is available in v2.0.0 or later of the Content Component Set.
Google PDF Preview Properties
- Component Id - Sets the name of the Standard Card component in the app. The Component Id can be referenced using JavaScript to add more functionality to the app as needed.
- Document - Select the name of a PDF from the dropdown. PDF files must be added to Documents within the Content section of the Studio.
- Component Height (px) - Enter the desired Component Height in pixels. The minimum height property is 150 and the maximum is 3,000 pixels. To display a taller PDF, enter a larger number.
Google PDF Preview Placement Settings
The Placement Settings for the Component sets which column(s) the Component will appear. Each Page of the app can have a different number of columns that are set in the Layout section of the Page Settings. The following Placement settings are available for this Component:
- Column Start - Sets the column where the Component will start.
- Column Span - Sets how many columns the Component will span.
- Padding - Sets how much space will appear on the top, bottom, left, and right of the Component. When building a Page with multiple Components, the Padding will determine the overall spacing between Components.
- Display Mode - Sets how the Component is displayed. If Both is selected, the Component will always show. Both are the default option. If Optimal is selected, the Component will only show if the browser supports the app. The main supported browsers are Chrome and Safari. If Degraded is selected, the Component will only show if the browser does not support the app. The main unsupported browser is Internet Explorer.