This is a migrated thread and some comments may be shown as answers.

How to add Image in table cell

1 Answer 339 Views
PdfProcessing
This is a migrated thread and some comments may be shown as answers.
Sandeep
Top achievements
Rank 1
Sandeep asked on 01 Dec 2014, 10:54 AM
Hi,

I was trying to to add an image in a table cell but not able to do so by using following code.

imageCell.Blocks.AddBlock().InsertImage(stream);

I am missing something here.

Regards,
Sandeep

1 Answer, 1 is accepted

Sort by
0
Accepted
Tanya
Telerik team
answered on 01 Dec 2014, 05:40 PM
Hello Sandeep,

The piece of code you sent to us should be working. Please verify that the stream path is correct and the problem is not in it.

You can find attached a sample project demonstrating how this can be achieved. The sample creates a table, containing only one cell with image inside it.

I hope this helps.
 
Regards,
Tanya
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
PdfProcessing
Asked by
Sandeep
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Share this question
or