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
Salesforce 283Salesforce 283 

How to show tick mark symbol in visualforce PDF

Hi Guys,
 I have one table in that tick symbols are showing. Those tick marks will show automatically when particular field has in object. Actually if i remove renderas="pdf" it's showing. How can i show that in PDF and please help me out this problem.

Example:

<apex:page>
  <p style="color:red;font-size:20px"> &#10004;</p>
</apex:page>

Regards,
Mahesh.

 
Andy BoettcherAndy Boettcher
It all depends on how you are rendering that field from the object.  The Salesforce PDF rendering engine is very particular and I would highly advise that you use all standard Visualforce components (<apex:outputField />, <apex:outputText />) and no other method of Javascript/Misc type of approach.