|
Pdf to Rtf -
Hi all,
i am in need to convert the pdf file to rtf file.. i did it using an third party component, now i have to set page orientation, and page size to the converted RTF,. Converted RTFo is an string only, Already i did these all to Excel, Code:
If Orientation = 1 Then
pageSetUp.Orientation = Microsoft.Office.Interop.Excel.XlPageOrientation.xlLandscape
Else
pageSetUp.Orientation = Microsoft.Office.Interop.Excel.XlPageOrientation.xlPortrait
End If
If PaperSize = 1 Then
pageSetUp.PaperSize = Microsoft.Office.Interop.Excel.XlPaperSize.xlPaperA3
Else
pageSetUp.PaperSize = Microsoft.Office.Interop.Excel.XlPaperSize.xlPaperA4
End If
|