# PDF

> Learn how to display a PDF file or document in your application or project using two methods - embedding for offline access or using a URL for online viewing. Discover detailed steps and tips for each approach.

https://docs.pandasuite.com/essentials/multimedia/pdf/

**Discover how to display a PDF file/document from your application or project.**

[Image: Mobile app displaying a one-page PDF form in a PDF reader, with page and zoom controls, above the app's navigation bar]

To display a PDF file, you have two options:

- **Embed the PDF file within a screen**: this file is accessible without an internet connection (offline)
- **Use the URL of a PDF file** (for example, from Google Drive): in this case, an internet connection will be required to display this content.

> **Info**
>
> The PDF file is displayed using the PDF reader of each platform (iOS, web,
> Android, Windows). There may be minor display differences related to these PDF
> readers.

## 1. Insert the PDF file (offline)

If you import the PDF file, it will be available offline.

To insert the PDF file:

- Before its import into PandaSuite Studio, you must compress this file into ZIP format.
- Import the ZIP file into the **Files** window.
- Insert [a Web component](https://docs.pandasuite.com/essentials/components/web/) in your screen: place it where you want to display the PDF file.
- In the **Properties** of the component, click on **Offline** and select the .zip file.
- In the **File** field, enter the name of the PDF file that was compressed (example .pdf).
- Double-click on the component to preview the PDF document.

[Image: Web component displaying a PDF in Studio: Type set to Offline, the .zip file as Source and the PDF name in the File field]

## 2. Use the URL of a PDF (online)

For this option, the PDF file must be hosted and have a public URL. You can host it on Google Drive, for example.

To insert the URL of the PDF:

- Insert [a Web component](https://docs.pandasuite.com/essentials/components/web/) in your screen: place it where you want to display the PDF file.
- In the **Properties** of the component, click on **Online.**
- In the **URL** field, enter the URL.
- Double-click on the component to preview the PDF document.

[Image: Web component displaying a hosted PDF in Studio: Type set to Online and the PDF address in the URL field]

[Template: Animals PDF App](https://pandasuite.com/dashboard/use-template/EGNwQIMBTs3tesyWGW1G)
