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

How to get PdfTemplate from the PdfPage

Thread ID:





93281 Mar 8,2010 01:31 PM UTC Mar 11,2010 08:45 AM UTC WinForms 1
Tags: PDF
Vijay Bhaskar
Asked On March 8, 2010 01:31 PM UTC


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 08:45 AM UTC

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.

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