Infomatics Posted January 18, 2012 Posted January 18, 2012 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
bcooney Posted January 18, 2012 Posted January 18, 2012 Not sure what you mean by "background." Do you mean stamp a watermark? If so, read this.
john renfrew Posted January 18, 2012 Posted January 18, 2012 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
Recommended Posts
This topic is 4761 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now