Is there any solution to this error? I am using version 9.2
"Printing failed. The Header area is taller than the page leaving no room to print any row data. Reduce the height of the headers and try again."
Currently height of header is: -1 (negative one) If I set it to 1 or any other value greater than zero, then printing completes without error. But I cannot set it to 1 or 100, because if I do so, printing document shows only specified amount of space on header. However keeping -1 value, printing document will calculate and take required space automatically. If I keep a small number like 1, then header might not display at all. And if I keep it 10 (or 10+), it might display blank space between header and actual page contents.
Private WithEvents mReportDoc As New UltraGridPrintDocument
...
?mReportDoc.Header.Height
-1
?mReportDoc.Page.Margins
{Left = 0, Top = 0, Right = 0, Bottom = 0}
Hello,
I tried this and it always works fine for me so I attached my sample to this post for you. Please review it and feel free to let me know if I misunderstood you or if you have any other questions.
It's been a while since I had this problem, so I don't remember exact details. I'll see if I can spare some time to study your sample project (because this issue is no more on my plate).
Thanks for your time though, appreciate it.