function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
RajaMohanRajaMohan 

Getting the background color in PDF page

Hi All,

 

I am rending a visualforce page as pdf. I want to highlight some of the rows dynamically by different color. The page code is working fine in the browser. While I try to save the same page as pdf then it is not loading the background color for that row. I have written a css style sheet for this and then I am accessing it inside the page.

 

Please, guide me to add the background color in the pdf page. 

 

 

Thanks

Raja