PDF Reader Component
Allow your users to view your favorite PDFs -- legal contracts, art posters or maybe even a PhD dissertation -- all from the convenience of your app
.png?alt=media&token=03d97ac1-409a-46a3-ae50-57427b083cb2)
Bring your favorite PDFs with you in an app!
Property | Description | Data Type |
---|---|---|
File | PDF to be displayed in the PDF Reader | PDF file or URL ending in .pdf |
There are two ways to set a file to display in the PDF Reader.
You can upload a PDF as an Asset to your app and display it in the PDF Viewer. Be careful of the Thunkable 50 MB app size limit if you choose to upload a file to your project.
You can enter a URL that points to a PDF on the web to display in your PDF. Make sure this URL ends in
.pdf

Once you upload the PDF, you will be able to view it in your app and pinch to zoom in.
Property | Description | Data Type |
---|---|---|
X | Location of top left corner of PDF Reader on X-axis, where the left hand side is X=0 | Number |
Y | Location of top left corner of PDF Reader on Y-axis, where the top side is Y=0 | Number |
Height | Height of PDF Reader in pixels | Number |
Width | Width of PDF Reader in pixels | Number |
Resize Mode | Define dimensions of the PDF Reader component/container | Select from list [Stretch, Float in Place] |

Returns the height/width of the PDF Reader on the device screen in pixels.


Last modified 1mo ago