Table with negative height value

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Generator for COM/ActiveX (v3)  /  Re: Table with negative height value

DynamicPDF Generator for COM/ActiveX (v3) Forum

 Oct 21 2009 12:30 PM
Hello,

I am adding tables to a page dynamically and finding the possible table height based on a logic that identifies the available space.  There are instances where the table height gets calculated as a negative value (basically because the content that got written has reached the end of the page), when this happens DynamicPDF component doesn't throw any error.

Apparently when I add a row to this table, though it has overflowed (in theory), it is not caught as an overflow row by the objTable.HasOverflowRows property.  So the row gets printed overlapping the footer.

But, the next row gets caught as a overflow row by the property and follows appropriate logic for the overflow.

Do you know what could be the reason behind?

Thanks
Ramesh
 Oct 21 2009 1:27 PM
Posted by a ceTe Software moderator
Hello Ramesh,

Can you please double check your logic once again? The table height will not be a negative. If you are still having a problem then please send over a sample code which can recreate the issue to our Support Team so that they can look into it further.

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 7:21 AM.