Posted 12 May 2022, 11:27 am EST
I need to add an image to the last page of a report queue.
The image would span mutliple subreports. So, an image control sent to back will not work.
Is there a way to draw an image underneath the text on the last page of the report?
The code below renders the last page empty when exporting to a PDF.
I suspect the image was off the page but, the content of the last page is no longer present.
```
void InsertSignatureImageOnLastPage()
{
Image image = Image.FromFile(@“C:\Users\xxxxx\Pictures\Signature.jpg”);
foreach (var report in this) { var page = report.SectionReport.Document.Pages[report.SectionReport.Document.Pages.Count - 1]; page.DrawImage(image, page.Width - 125F, page.Height - 75F, 125f, 75F); } }