In iText7, is there a way like iText5's calculateHeights method?
问题 In iText5, we can get the PdfPTable's height when we need "public float calculateHeights(boolean firsttime)". But in iText7, how can we get current table height value (especially before adding the table to its parent element)? I already tested "table.getHeight()" method, but it returns null. And I also found that in a table render object I can get this value, but the limitation is that the render need to be triggered when the table is adding into its parent element, so the time is not my need