("Table.pdf")Ī complete working sample can be downloaded from CSVToPDFSample.zip. 'This will open the PDF file so, the result will be seen in default PDF viewer PdfGrid.ApplyBuiltinStyle(PdfGridBuiltinStyle.GridTable5DarkAccent6) PdfGridHeader.Cells(i).Value = (i).DisplayTextįor row As Integer = 2 To ĭim pdfGridRow As PdfGridRow = ()įor col As Integer = 1 To ĭim text As String = worksheet(row, col).Text ()ĭim pdfGridHeader As PdfGridRow = pdfGrid.Headers(0)įor i As Integer = 0 To - 1 'Loads or open an existing workbook through Open method of IWorkbooksĭim workbook As IWorkbook = ("Input.csv")ĭim worksheet As IWorksheet = workbook.Worksheets(0)ĭim page As PdfPage = () 'Instantiate the Excel application objectĭim application As IApplication = excelEngine.Excel 'Instantiate the spreadsheet creation engine This will open the PDF file so, the result will be seen in default PDF viewer PdfGridRow pdfGridRow = () įor (int col = 1 col <= col++) PdfGridRow pdfGridHeader = pdfGrid.Headers įor (int i=0 i< i++) PdfDocument document = new PdfDocument() IWorksheet worksheet = workbook.Worksheets Loads or open an existing workbook through Open method of IWorkbooks IApplication application = excelEngine.Excel Instantiate the Excel application object Instantiate the spreadsheet creation engineĮxcelEngine excelEngine = new ExcelEngine()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |