3 Replies Latest reply on Dec 10, 2015 8:56 AM by rahulm24619544

    adding text to pdf, set order of background images in javascript




      I am pretty new and strugglign with programmatically achieving the following using javascript plugins.


      1. Add normal text (like label and not textbox) to the pdf. I need this so that I should populate some pre-defined text.


      2. I need a rectangle with black background and an image over that. So I used a 'Square' addAnnot with black color and then added image using addWatermarkFromFile. but the square annotation is over the watermark so I cannot see the watermark. Could you please help me on how to set the order in javascript? I tried z-index property of watermark but it doesnt' work.


      Thanks in advance.