HI Pascal I got the solution from ur suggested link,
Thank u sushil Pascal Sancho wrote: > > Hi, > > What you need is background-position-horizontal and > background-position-vertical properties. > There is some limitation when using "repeat-*", see [1], but work fine in > other cases. > [1] > http://xmlgraphics.apache.org/fop/compliance.html#fo-property-background-position-horizontal > > > Pascal > >> -----Message d'origine----- >> De : sushilmuppidi [mailto:[EMAIL PROTECTED] >> Envoyé : jeudi 18 septembre 2008 08:00 >> À : [email protected] >> Objet : How to add watermark image in center for each page in pdf >> >> >> I tried to put image as watermark in pdf. its coming in top >> of the page. >> >> I used the below code to get watermark in each page: >> <fo:simple-page-master master-name="default" >> page-height="29.7cm" >> page-width="23cm" >> margin-top="11mm" margin-bottom="5mm" margin-left="23mm" >> margin-right="3cm"> >> <fo:region-body display-align="right" >> background-image="E:\pdfimages\my1.jpeg" >> background-repeat="no-repeat"> >> </fo:region-body> >> <fo:region-after region-name="footer" extent="0.5in"/> >> </fo:simple-page-master> >> >> the image is not coming in center of the page. >> how to get the image in center of the page in all the pages. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/How-to-add-watermark-image-in-center-for-each-page-in-pdf-tp19546479p19548875.html Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
