This project has moved. For the latest updates, please go here.

How to Draw a Table

May 4, 2015 at 7:33 AM
Hello every body.
I am trying to work with this code for several days and I have some progress with that. It is easy to use and comprehensive.
unfortunately I couldn't find the way of drawing a table with specified number of rows and columns.
Any help about the table creation would be appreciated.

May 5, 2015 at 6:34 PM
At the moment the Table entity is not implemented, you can see the full list of available entities in the project's home page. I guess you can always build one using lines and texts.

May 7, 2015 at 9:40 AM
Yeah, Thanks for your answer. do you think Drawing a table with text and line wouldnt have the problem with long texts, wrapping them and sth like that ?
how to measure the width of each column ?
May 12, 2015 at 7:09 PM
If you work with MText entities you can fix the rectangle width to the column width, this way long lines will automatically wrap, but you will have to deal with the height of the cell. How to measure texts? Well, with all the formatting options available for MText entities is kinda hard to give an answer.