web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to export a screen...
Power Apps
Unanswered

How to export a screen as a pdf into A4 size to be fit as a must

(0) ShareShare
ReportReport
Posted on by 2

I am trying to export the screen into A4 Size pdf via email, its working fine - it exports into pdf.

BUT the size is disturbed into 2 pages and even the font is not good looking. 

 

My screen 

MIA27_0-1682868747442.png

 

On button select,I am using the below code :

Office365Outlook.SendEmailV2(
User().Email,
"Subject to be here PowerApp of serial " & FindSerialNo.Text,
"Email to be here of powerapp",
{
Attachments: Table(
{
Name: "ServiceDataRepo.pdf",
ContentBytes: PDF(A4pdf,{Size:PaperSize.A4,Margin:"0.25inch 0.25inch 0.25inch 0.25inch",Orientation:PaperOrientation.Portrait,ExpandContainers:true})
}
)
}
)

 

The result in the acrobat pdf viewer is as below, it as broken into 2 pages as well the font is disturbed:

MIA27_1-1682868843706.png

 

Please guide, how to achieve the requirement,

 

Note : I tried, all the put into a container and tried to change the size of pixel to match with A4size , but the disadvantage in the container, once you insert any thing inside the container, it will not allow you to move, it keep next to next, I mean you cannot break the container controller.

 

Note2 : This test I am doing, if successful, I want to make a edit form, data to written and retrieved via patch and then user can export as a A4 size.

 

 

Categories:
I have the same question (0)
  • vishalthakur1 Profile Picture
    15 on at

    once you insert any thing inside the container, it will not allow you to move-- Have you tried using a normal container instead of a Horizontal or vertical container ?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 762

#2
11manish Profile Picture

11manish 640

#3
Valantis Profile Picture

Valantis 548

Last 30 days Overall leaderboard