
21 October 2022
Power Apps - PDF Function
Learn about Power Apps: Power Apps - PDF Function
pdf
power-apps-tricks
print-pdf
print-screen
1 min read
Learn about Power Apps: Power Apps - PDF Function
Hello, really nice fuction under our lens today. “PDF Function”. What is this? Is an Experimental function to print Power Apps Screen as PDF.
Let’s start!
First of all, you must enable this feature:
Enable experimental feature
Basically , you should call “PDF” Function and pass it information about screen to “Print” as PDF.
PDF (Screen or control name [,{Size, DPI, Margin, Orientation, ExpandContainers}])
The mandatory parameter is Screen (or control name), but you can specify Size, DPI, Margin etc.. Check documentation here.
Create a form, with “print button”:
Print screen as PDF
Set(myPDF,JSON(PDF(Screen3))
Now, use PDFViewer control to see result:
View PDF
Contact me for questions! Have a nice day!