![]() |
|
GTP.NET FAQ 10794I have to know the total height (height that the grid would have to let all gridnodes visible) of the grid before beginning to print? Please note that this article
refers to the GTP.NET Jump to article- 2007-01-03 13:26:00 - Email plexityHide Question 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? Answer 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
|
"This is too GREAT. I must say you have strong support and really good programmers at your place. Your entire team is good. Just Fantastic! – 100%" |
| ? 1999-2006 PlexityHide.com Grastensvagen 24, S-163 45 Spanga Sweden E-mail: support@plexityhide.com |