Footer Missing On some pages

Footer Missing On some pages

Forum member · Jan 26, 2009
I am merging docs and adding a footer with page numbers. It seems to work fine on some pdfs. but not others. It is counting the doc, but not showing the footer on the page. I have set the margins with no luck. It seems to be a particular .pdf file with the problem. Here is a snip of my pagenumberlabel Dim i As Integer For i = 0 To PDFPackage.Pages.Count - 1 PDFPackage.Pages(i).Dimensions.SetMargins(5) Next Dim PdfTemplate As New ceTe.DynamicPDF.Template Dim PageNumberLabel As New ceTe.DynamicPDF.PageElements.PageNumberingLabel("%%CP%% of %%TP%%", 0, -10, 612, 12, ceTe.DynamicPDF.Font.Helvetica, 12, ceTe.DynamicPDF.TextAlign.Center) Dim Group As New ceTe.DynamicPDF.PageElements.AnchorGroup(PageNumberLabel.Width, PageNumberLabel.Height, ceTe.DynamicPDF.Align.Center, ceTe.DynamicPDF.VAlign.Bottom) Group.AnchorTo = ceTe.DynamicPDF.PageElements.AnchorTo.Margins Group.Add(PageNumberLabel) PdfTemplate.Elements.Add(Group) PDFPackage.Template = PdfTemplate 'Output assembled PDF Package to the user PDFPackage.DrawToWeb()

Re: Footer Missing On some pages

Support · Jan 26, 2009
Hello, Try setting the Y coordinate to 200 and see if the label shows up on the page of the PDF that you are having problem with. It is possible that the PDF has a rotate property of 90 in them and therefore the label is getting out of the page dimensions. If you still continue experiencing the same behavior, please send the PDF to our [^a|mailto:support@cete.com|opennewwindow|Support Team^] and they can take a look into it further. Thanks, ceTe Software Support Team