January 18, 201214 yr Hi, I can make a pdf from multiple records, using sliding etc. But I want to use the company writing paper as a background. Is it possible to add the company paper (which I have as a pdf) to a new pdf using SM and iText or something? Best regards, Ruben van den Boogaard Infomatics Software
January 18, 201214 yr Not sure what you mean by "background." Do you mean stamp a watermark? If so, read this.
January 18, 201214 yr Complex post but does cover the basic principles but geared towards adding an image as a watermark For what I think you are asking: First make sure the company 'letterhead' is the same size as your page size from FM and saved as a PDF Then instead of addImage() create a second reader from the background PDF then use addTemplate ( stamper.getImportedPage(second_reader, 1), 0f, 0f ) This gets the first page from the second reader as a PdfTemplate and puts it bottom left and right
Create an account or sign in to comment