Activity Forums Salesforce® Discussions How to add watermark in each page for Salesforce visualforce pdf page?

  • Manpreet

    Member
    February 15, 2018 at 4:08 pm

    Hi Pranav,

    You will insert

    <apex:page renderAs=""pdf"" standardStylesheets=""false"" applyHtmlTag=""false"" showHeader=""false"">

    to top of the page.After that you will inert style inside the page.

    <style>
    @page {

    background-image: url('https://login.salesforce.com/img/logo198.png');
    background-repeat: no-repeat;
    background-position: center;

    }

    </style>
    Thanks.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos