I don’t use MS print component to print GTP.NET.
I have to know the total height (height that the grid would have to let all gridnodes visible) of the grid before beginning to print, i can’t just let looping while the gantt says it has more pages to print.
it seems that you calculate cell or ganttrow size only when you have to paint, so i can’t get “real” size of gridnodes that are not visible can you help me?
Correct, the sizes are only known when actually rendering.
So you need to render to something to get it to calculate all sizes. And that “something” must also be big…
One way is to use a metafile-canvas. Make it crazy big and print to it… Then all values are known… To print to a meta file look here: http://www.plexityhide.com/faqs_gen_GTPNET/10374.htm