We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Thread ID:





70109 Nov 27,2007 07:06 PM UTC Nov 28,2007 07:31 AM UTC ASP.NET Web Forms (Classic) 1
Tags: PDF
Kevin Wainwright
Asked On November 27, 2007 07:06 PM UTC

hi we have a footer in the PDF we are creating but we cant get the dimentions right as it is always being obstructed by the text if we put the height in then it either is obstructed by the text still or not far enough away any ideas on where im going wrong!!

Administrator [Syncfusion]
Replied On November 28, 2007 07:31 AM UTC

Hi Kevin,

Thank you for your interest in Syncfusion products.

If you want to draw the Footer text without being obstructed by the body text of the PDF, then you can set the PDF Page Width as Footer's width.

Here is the code snippet.


// Size
RectangleF rect = new RectangleF(0, 0, doc.Pages[0].GetClientSize().Width, 50);

//Create a page template
PdfPageTemplateElement footer = new PdfPageTemplateElement(rect);
footer.Graphics.DrawString(footerText, font, brush, new RectangleF(0, 18, footer.Width, footer.Height));
Pdfdoc.Template.Bottom = footer;

Please refer the sample that shipped with Essential studio in the below location.


Please let us know if this helps you.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon