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.
Unfortunately, activation email could not send to your email. Please try again.

How to get PdfTemplate from the PdfPage

Thread ID:





93281 Mar 8,2010 08:31 AM Mar 11,2010 03:45 AM Windows Forms 1
Tags: PDF
Vijay Bhaskar
Asked On March 8, 2010 08:31 AM


After creating PdfTemplate from the PdfPage(i.e Pdfpage.CreateTemplate()). I have Drawn some images on that PdfTemplate & saved the Pdf. Again after loading the pdf, How to get my PdfTemplate.

Thanks & Regards,

Karthik M [Syncfusion]
Replied On March 11, 2010 03:45 AM

Hi Vijay,

Could you please try with the below code-snippet to access the existing page template and let us know if this helps.

[Code Snippet]

//Load the existing PDF document.
PdfLoadedDocument ldoc = new PdfLoadedDocument("Sample.pdf");

//Create new template from the existing page.
PdfPageBase page = ldoc.Pages[0];
PdfTemplate loadedTemplate = page.CreateTemplate();

Best Regards,


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.

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.