Hi,
I tested with ver3 and just purchased ver4...
After installing ver4, I'm have some trouble sizing dynamic tables...
These tables are built and then sized to fit the content...
GetRequiredHeight no longer seems to be returning the expected value. This code results in the table size remaining the as it was originally created, and the added rows not being visible...
Thanks
Dale
Dim tmpTable As Table
tmpTable = New Table(0, 0, 412, 8)
tmpTable.BorderWidth = 0
tmpTable.Columns.Add(72)
tmpTable.Columns.Add(144)
tmpTable.Columns.Add(196)
Dim tmpRow As Row
'===Header Row====
tmpRow = tmpTable.Rows.Add(1)
tmpRow.Font = ceTe.DynamicPDF.Font.HelveticaBold
tmpRow.FontSize = 8
tmpRow.Cells.Add("Level")
tmpRow.Cells.Add("Side Down")
tmpRow.Cells.Add("Method")
add some rows here.................
'========================
tmpTable.Height = tmpTable.GetRequiredHeight
Table GetRequiredHeight
Re: Table GetRequiredHeight
Support · Apr 10, 2006Hello Dale,
We were able to recreate the same behavior. It looks to be a bug that is introduced in v4.0. This has been forwarded over to the developers and we will get this issue resolved as soon as possible.
Can you please send us an email at [^a|mailto:support@cete.com|support@cete.com^], so that we can keep you up-to-date with the status of this bug?
Thanks,
ceTe Software Support Team
Re: Table GetRequiredHeight
Support · Apr 19, 2006Hello,
This issue was resolved and is available in v4.0.0 Build 60419 (and later) from our web site.
Thanks,
ceTe Software Support Team
Re: Table GetRequiredHeight
Forum member · Apr 27, 2006Yep I had the same problem and I had to use Table.GetVisibleHeight.