Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I am using .NET RTF Library to create RTF document (RTF document which contains header, footer, table, images etc.). I want to show 2-column images in a single cell of table.
When I use following code to display two images, Images are displaying one below another. While I want to show these images in a line.

table.cell(0, 0).addImage("D://images.jpg");

To fulfil this requirement I have to add a 1X1 table in a cell . For that, I am using following code to add table in a cell.

table.cell(0, 0).addTable(1, 1, 100f, 10);

It throws exception "Table is not allowed."

Please help me how i can show two images side by side or in-line.

Your help will be appreciable.



Thank you,
Megha
Posted
Comments
Richard Deeming 10-Feb-15 10:17am    
There isn't a built-in .NET RTF library. If you're using a third-party component, you'll need to tell us which one.
Megha D Chavan 10-Feb-15 22:24pm    
Hi Richard,
I am using .NET RTF Writer Library in C#. Here is link http://sourceforge.net/projects/netrtfwriter/. This is open source library.
Megha D Chavan 12-Feb-15 0:23am    
Can I show 2-column images in a single cell of table using .NET RTF Writer Library in C#. Is there any other solution to fulfil this requirement.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900