You need to sign in to do that
Don't have an account?
SF Dakshendra
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>
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>
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
https://developer.salesforce.com/forums/?id=906F000000096tCIAQ