Printable Page Size
All,
How can I find out the size of the printable page size at run-time?
For example, when I am in the designer, and I resize the title band, the
designer will tell me:
"Invalid value: Height of band cannot exceed height of page."
Unfortuantely, getting PrinterDevice.PaperHeight gives me "11" but I know
the max height of the printable area of this report is 9.8125. I've tried
to calculate the size using the margins (MarginTop, MarginBottom), but I it
doesn't quite calculate to that.
Any help would be appreciated.
-ed
How can I find out the size of the printable page size at run-time?
For example, when I am in the designer, and I resize the title band, the
designer will tell me:
"Invalid value: Height of band cannot exceed height of page."
Unfortuantely, getting PrinterDevice.PaperHeight gives me "11" but I know
the max height of the printable area of this report is 9.8125. I've tried
to calculate the size using the margins (MarginTop, MarginBottom), but I it
doesn't quite calculate to that.
Any help would be appreciated.
-ed
This discussion has been closed.
Comments
Hi Ed,
i think PrinterSetup.PrintableHeight is what you need. The value is in Report Unit.
Cheers.
Gianantonio.