PDF Table

1 Answer 83 Views
PdfViewer and PdfViewerNavigator
PeterT
Top achievements
Rank 1
Iron
PeterT asked on 05 Dec 2022, 01:33 AM

Hi,

I am trying to create a PDF Table but I  am missing one or more libraries that I should reference. The code fragment I am trying is as follows:

Table table = new Table(); TableRow firstRow = table.Rows.AddTableRow(); TableCell firstCell = firstRow.Cells.AddTableCell(); 

Block block = firstCell.Blocks.AddBlock(); 
block.InsertText("Testing"); 

Thanks

1 Answer, 1 is accepted

Sort by
0
Maria
Telerik team
answered on 05 Dec 2022, 04:11 PM

Hello Peter, 

The assembly references you need to add to your project for the provided code snippet are these:

  • Telerik.Windows.Documents.Fixed.dll
  • Telerik.Windows.Documents.Core.dll
  • Telerik.Windows.Zip.dll

if you are using the PdfViewer control you need to add this DLL file also:

  • Telerik.WinControls.PdfViewer.dll

I am sending you links to our documentation, where you could check more information about assembly references: 

I hope this information is useful.

Regards,
Maria
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
PdfViewer and PdfViewerNavigator
Asked by
PeterT
Top achievements
Rank 1
Iron
Answers by
Maria
Telerik team
Share this question
or