How to draw template on PdfLoadedDocument

I am trying to create a layer on an existing pdf, and on that layer draw the content of another pdf by using pdftemplate functionality.

However, the text included on the other pdf seems not to be drawn on the layer.

My functionality is based on this: https://help.syncfusion.com/file-formats/pdf/working-with-pdf-templates#creating-document-overlays

however, drawing directly to the pdfloadeddocument on a new layer, as described here: https://help.syncfusion.com/file-formats/pdf/working-with-layers#adding-layers-in-a-pdf-document

Any pointers? is it a bug?

3 Replies

SK Surya Kumar Syncfusion Team October 25, 2017 07:15 AM UTC

Hi Johannes, 

Thank you for using Syncfusion products. 

We have tried to reproduce the issue which you have mentioned using the sample attached below, but the issue is not reproduced. Can you please try using this sample and let us know if there is a change in code snippet which you are using. 
Also, if you can provide us the document in which the issue is reproduced we can help you better. 

Please let us know if you need any further information in this. 

Regards, 
Surya Kumar 



MR MrHessellund October 25, 2017 06:05 PM UTC

Your example works with the supplied PDF's.

Please try to put attached "overlay-sample.pdf" as your loadeddocument2.

Does not work at all on my setup. 

/Johannes


Attachment: datasamples_39b467a3.zip


SK Surya Kumar Syncfusion Team October 26, 2017 12:28 PM UTC

Hi Johannes, 
 
We are able to reproduce the issue which you have mentioned in the last update, A support incident to track the status of reported issue has been created under your account. Please log on to our support website to check for further updates.       
  
   
  
Regards,  
Surya Kumar  


Loader.
Up arrow icon