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
SF DakshendraSF Dakshendra 

how to rotate visual force pdf in 90 degrees ?





here my code is




<apex:page controller="generate" pageStyle="vertic" renderAs="pdf" >

<APEX:FOrm >
 


 Opportunity Name:{!opp.name} <br/>
<apex:pageblock >
        
            <table width="100%" border="0" >
                <tr>
                    
                    <td width="28%"><apex:image url="{!$Resource.google}"/></td>
                   
                     
                    <td width="5%"> </td>
                    <td width="8%"> </td>
                    <td width="8%"> </td>
                     <td width="59%">
                        <table width="65%" align="right">
                            <tr>
                                <td width="100%" align="right" style="font-size:12pt">Estimate</td>
                            </tr>
                            <tr>
                                <td width="100%" align="center" >
                                     <table width="100%" border="1" align="right">
                                         <tr>
                                            <td width="40%" bgcolor="#127826"><center>DATE</center></td>                              
                                         </tr>
                                         <tr>
                                            <!--<td width="40%" style="text-align:center"><apex:outputField value="{!opp.Invoice_No__c}"> </apex:outputField></td>-->
                                             <td width="40%" style="text-align:center"><apex:outputtext value="{!myDate}"/></td>
                                           
                                         </tr>
                                     </table>    
                                  </td>
                              </tr>
                         </table>
                     </td>
                  </tr>
                  
                  
                 
             </table>       
          </apex:pageblock>
          
                    


    <apex:pageBlock >
        <apex:pageBlockTable value="{!fsrd}" var="fr" columnsWidth="40%,30%,30%" border="1">
            <apex:column value="{!fr.name}"/>
            <apex:column value="{!fr.Comments__c}"/>
            <apex:column value="{!fr.Opportunity__c}"/>
           
        </apex:pageBlockTable>
    </apex:pageBlock>
    
    <br>  </br>
    
   
    
    
</APEX:FOrm>
 
</apex:page>
Subramani_SFDCSubramani_SFDC
You want to rotate visualforce PDF text?
SF DakshendraSF Dakshendra
yes
Rowallim TechnologyRowallim Technology
Hi SF Dakshendra
I searched for this issue and what i got is in the following link.
https://developer.salesforce.com/forums/?id=906F0000000998lIAA

Hope it helps you.
Regards