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

Adding Border on certain section

Thread ID:





101845 Nov 25,2011 04:05 PM UTC Nov 28,2011 07:07 AM UTC ASP.NET Web Forms (Classic) 1
Tags: PDF
Sanjay Bhagia
Asked On November 25, 2011 04:05 PM UTC


I want to add a border around certain section in my pdf. could someone please help me out how that can be achieved.

Code sample will be appreciated.

Secondly, while using pdfgrid, when grid continues on second page, after that when i print any other text, it looses position (and start at the beginning of the next page), any better way to handle such scenario? Which event should i use to calculate x and y for next text to use?


Geetha M [Syncfusion]
Replied On November 28, 2011 07:07 AM UTC

Hi Sanjay,

Thank you for your interest in Syncfusion products.

Border around any section can be achieved using PdfPageTemplateElement class. This has been explained in the sample given below.

After completing PdfGrid, you could make use of PdfGridLayoutResult to get the resultant page and bounds. Please check the sample in the link below that explains it as well.


Please try this and let me know if you have any questions.



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

or the page will be automatically redirected to 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