PDFsharp & MigraDoc Foundation https://forum.pdfsharp.net/ |
|
Different footer on last page https://forum.pdfsharp.net/viewtopic.php?f=2&t=1719 |
Page 1 of 1 |
Author: | Falki [ Wed Jul 13, 2011 1:56 pm ] |
Post subject: | Different footer on last page |
Hi, I use a table that generates several pages and I need to put a different footer on the last page. and because all pages are one section, so I do not know how to change it. Thanks, Falki |
Author: | chriseverett [ Wed Jul 20, 2011 1:32 pm ] |
Post subject: | Re: Different footer on last page |
Can you just use something like pdfDocument.Pages(pdfDocument.Pages.Count - 1) once you've finished adding all your pages? E.g. (VB) Dim pdfDoc as pdfDocument = New pdfDocument() Dim gfx as xGraphics = New xGraphics() ...add pages here... gfx = xGraphics.FromPdfPage(pdfDoc.Pages(pdfDoc.Pages.Count - 1)) gfx.DrawString("Final page footer",...) |
Author: | Falki [ Fri Jul 22, 2011 1:14 pm ] |
Post subject: | Re: Different footer on last page |
thank, but I need to use migradoc, because in pdfSharp it would be very difficult |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |