
Announcements
Hi,
I have a gallery with images. I'm trying to Generate PDF with all images of my Gallery in A4 format but i have some difficulties to fit them in A4 format.
Please find my formula below for PDF:
Set(myPDFDEP; PDF(Gallery1; { Orientation: PaperOrientation.Portrait;
Size: PaperSize.A4;
ExpandContainers: true }));;Set(depvisible;"true");;Office365Outlook.SendEmailV2(
"test@mail.com";
"Subject to be here PowerApp of serial ";
"Email to be here of powerapp";
{
Attachments: Table(
{
Name: "ServiceDataRepo.pdf";
ContentBytes: PDF(Gallery1;{Size:PaperSize.A4;Margin:"0.25inch 0.25inch 0.25inch 0.25inch";Orientation:PaperOrientation.Portrait;ExpandContainers:true})
}
)
}
)