Open NayabHussain opened 7 years ago
Most classes have a public XyDim calcDimensions()
that you can call and compare result.y
to lp.yPageBottom()
. The zero Y-value is at the top of the page, so result.y > lp.yPageBottom()
means you have enough room left on the page.
when the table row adds dynamically ,row was splitting in the bottom margin, half row will be in one page and another half row will be in another page.