Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
765
Converting RelativeWidth to Fixed Width
posted

Hi

I have a report that contains an Table

ITable table = m_section.AddTable();

table.ApplyPattern(tablePattern);

table.Width = new RelativeWidth(100);

 The table contains cells which are defined width RelativeWidth.

cell.Width = new RelativeWidth(100/numOfColumns)

I store all the cells of the table for later use.

Later on in my code I need to access a cell and get its actual width because I want to create an image that matches the cells size

How do I know what the actual width of a cell is .

Thanks.