+ Start a Discussion
SL TanSL Tan 

Re Visualforce RenderAs PDF Logo Question

I am using the following code in the beginning of a VF Page:


<apex:page standardController="Custom_Object__c" showHeader="false" renderAs="pdf" standardStylesheets="true"> <body> <apex:stylesheet value="{!URLFOR($Resource.pdfresource,'styles.css')}"/> <apex:image value="{!URLFOR($Resource.pdfresource,'logo.gif')}"/>

 I would like to replace the "Visualforce 8 pages2pdf logo" with a new logo. I tried to do this by removing the last 2 lines of code and replace by

<apex:image url="{!$Resource.NewLogo}" width="50" height="50" />
 but it does not appear to work as the same Visualforce 8 pages2pdf logo continue to appear. Does anyone know how to solve this. Any pointers will be highly appreciated. Thank you in advance.