Background Image on PDF !

Last post 09-25-2006, 7:33 PM by GEO.NET. 0 replies.
Sort Posts: Previous Next
  •  09-25-2006, 7:33 PM 23060

    Background Image on PDF !

    I have some questions regarding a background Image that I would like to use on each page of the final PDF.

    1- How can I shrink/enlarge the Background Image to fix a specific area (rectangle) on the page?

    2- Do I must work with the BODY, DIV,TABLE,TR or TD tag style/features (width, height)? What are the PRIORITY order on the final render?

    3- How can I reset the page margins to 0 (top, bottom, left, right) so the image appear to be perfectly fixed and have no WHITE space around the background image?

    4- If I will try to cover the whole page what should be the pixels dimensions on the standard letter size page

    5- That will be a plus… Is there any way to decrease/change the quality of this image to use as a client draft or final version?


    The code below is just an example (more or less) of what I am using to generate dynamically the PDF.
     
    <html>
    <body >
    <div>
    <table cellSpacing=0 cellPadding=0 border=0>
      <tr>
        <td><p><img src="http://....absoluteurl..../BackPage1.jpg" width="600px" height="800px"  align="absmiddle"/></p></td>
      </tr>
    </table>
    </div>
    </body>
    </html>

View as RSS news feed in XML