I create a Excel sheet with NPOI in a C#-program and I can loop to each row. For some rows I define HeightInPoints
and I can do this for all rows.
The auto page break breaks not at the row I want, so Ihave to do this in code. How can I find out, which is the last row before autobreak?
I use only two formats to print A4 = 14.8 x 21 cm or letter = 8.5 x 11 inch. Is it possible to determine how many points used per page height? And so calculate the last row before page break?
Ottilie