Hi all,<BR><BR>I am properly stumped on this one and after about 8 hours of trying cannot come up with a solution.<BR><BR>Here goes.<BR><BR>I am making an app which fills in the blanks of a standard letter to a lawyer. The letter is then converted into a PDF.<BR><BR>Here are the mechanics:<BR><BR>HTML form posts the users details to an ASP page.<BR>ASP page saves the details to the DB (SaveData.aspx).<BR>I have another page (ShowLetter.aspx) which displays the letter as html in a table.<BR>I have a third page (Generate_PDF.aspx) which uses WebSuperGoo's ABCPDF component to take a snapshot of ShowLetter.aspx and convert it to a PDF (the end user never calls ShowLetter.aspx, only Generate_PDF does).<BR><BR>All of this works great. However I want to watermark the PDF with a logo (which on ShowLetter.aspx is simply a Table background image with 10% Opacity which tile-repeats).<BR>Again, this works great.<BR><BR>THE PROBLEM:<BR><BR>Because the length of the text that the user can enter is variable, I don't know how 'tall' the table in ShowLetter.aspx is going to be. The watermark image is 842px high (exactly the size of an A4 sheet of paper). Therefore if the text 'spills' over to another A4 sheet of paper, the whole of the watermark image is not displayed because it is tiled and therefore the table needs to have its height set as a multiple of 842px.<BR><BR>THE SOLUTION:<BR><BR>I need a way to determine how many A4 pages in length the ShowLetter.aspx is going to be and then I can set the height property of the TD to be X (pages) times 842 pixels, thereby ensuring that the whole of the watermark image displays.<BR><BR>I am really sorry for a ridiculously long description, but I think too much details is better than not enough?<BR><BR>I will be sat on the board for the next couple of hours, so I can clarify anything that isn't clear - Thanks a lot for bothering to read this!<BR><BR>;D<BR><BR>J.