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. Image for the cookie policy date
close icon

How to add template to all pages.

Hi

I want to add a particular template to all the pages in the pdf.

Can you guide me how to go about it


1 Reply

BP Bhuvaneswari P Syncfusion Team December 16, 2008 01:05 PM UTC

Hi Dhavat,

Thank you for your interest in Syncfusion products.

In two ways you can achieve this requirement. If the template is a separate PDF and you want this template to be overplayed to all the pages, and then please have a look into our Overlay Document sample from the sample browser location:
\\Syncfusion\EssentialStudio\6.4.0.15\Windows\Pdf.Windows\Samples\2.0\Modify Documents\Overlay Documents\cs

In this sample, two template documents are used where one stores a set of images and another contains a margin. When you overlap pages from these two documents, the resultant page will contain the images aligned within the specified margin.

Another option is creating the template and applies this template to all the pages in the document like Header/Footer. Please have a look into our header/footer sample for to get more information regarding this:
\\Syncfusion\EssentialStudio\6.4.0.15\Windows\Pdf.Windows\Samples\2.0\GettingStarted\Headers and Footers\cs

Please try these possibilities and let us know if this helps you.

Best Regards,
Bhuvana



Loader.
Live Chat Icon For mobile
Up arrow icon