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

Hi... How to display pdf first page or word first page(or thumb nail) in sales force visual force pages.

Arvind KumarArvind Kumar
Hi Nandana,

Follow the below link. You can render a Visualforce page as pdf.

This is used with page component and renders the page in the specified format. 

The following page will give output in pdf form /render as pdf.

Visualforce Page:

<apex:page standardController="Account" renderAs="pdf">
     <apex:pageBlock >
          <apex:outputField value="{!}"/>
          <apex:outputField value="{!Account.AccountNumber}"/>

Follow the above link & code. It will help you.

Arvind Kumar