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 apply a background to an existing PDF?

Hi, there is a way using SyncFusion to apply a background image to an existing PDF? I do not want to use a transparency, but applying the original image as background image of the existing PDF document.

A solution can also be the ability to apply a PDF as background of another PDF, as does the pdftk with the background command:

http://www.pdflabs.com/docs/pdftk-man-page/#dest-op-background

3 Replies

KC Karthikeyan Chandrasekar Syncfusion Team June 10, 2013 03:36 AM UTC

Hi Claudio,

Thank you for using Syncfusion Products.

 

We can able to apply an image or another PDF as background to an existing PDF.

I have attached a sample for your reference.

BackgroundPDF.zip

 

Please let us know if you have any concern.

 

Thanks,

Karthikeyan.C

 



AT ABLE Tech srl June 20, 2013 03:12 PM UTC

I don't want the background to be applied with borders (printable area?) but on the full page. Is it possibile?


KC Karthikeyan Chandrasekar Syncfusion Team June 24, 2013 04:46 AM UTC

Hi Claudio,

Thank you for your update.

 

Could you please set all the margins to zero so that the image or the Pdf document can be drawn in full page.

Please use the below code snippet.

PdfDocument doc = new PdfDocument();

doc.PageSettings.Margins.All = 0;

 

Please let us know if you have any concern.

 

Thanks,

Karthikeyan.C

 


Loader.
Live Chat Icon For mobile
Up arrow icon