Row2.ActualRowHeight erroring

Row2.ActualRowHeight erroring

Forum member · May 10, 2011
Hello. After installing v6.0.2.40 ... I switched from using the Table, Row & Cell objects and started using Table2, Row2 & Cell2. Everything works perfectly except for the Row2.ActualRowHeight property. It is now giving me an "Object reference not set to an instance of an object." error. The code looks like this. Table2 table = new Table2(x, y, width, height); Row2 row = table.Rows.Add(12, Font.TimesRoman, 10); Cell2 cell = row.Cells.Add(text); Float lastRowHeight = row.ActualRowHeight; After I add the cell, I need to check the ActualRowHeight to make sure I have enough room to add another row. This is where it is blowing up and giving me the "object reference" error. Any ideas? Also, when I step through the code, if I put a break-point on the "Cell2 cell = " line ... the row.ActualRowHeight returns 12. It's only after the cell is officially added that the object reference error is encountered.

Re: Row2.ActualRowHeight erroring

Support · May 10, 2011
Hello, This is a bug that got fixed recently. Please send an email to [^a|mailto:support@cete.com|opennewiwndow|support@cete.com^] referring to the url of this form post so we can email you the latest build that has the fix for this issue. Thanks, ceTe Software Support Team.