Thomas Hoevel wrote:
... You can even have a table in a cell ...
Not sure this is an appropriate place to ask this but how do I put a
Table in a
Cell as hinted above?
The following does
not compileCode:
var cell = new Cell;
cell.AddTable();
as
AddTable is not a method of the class
Cell.
I understand from another post of mine
http://forum.pdfsharp.net/viewtopic.php?p=1610&mforum=pdfsharp#1610 that I can embed a
Table in a
TextFrame but if I do that I end up with the following hierarchy:
Code:
Cell
|_TextFrame (containing a single cell table)
|_Table (1x1) containing another table/textframe combo
|_TextFrame
|_Table (rows_N x cols_M)
This hierarchy quickly gets very confusing and with nested tables and worse (for me), the
TextFrame does not expand to the size of the embedded table (like it does if it simply contained paragraphs) so the following rows in my outer level table overlay those of the inner table.
So the question is: Is it possible to add a Table to a Cell of a containing table and have the containing table expand with the embedded table?