Home Devices
New Blog Posts: Merging Reports - Part 1 and Part 2

Printable Page Size

edited September 2006 in Devices
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

Comments

  • edited September 2006
    Ed Salgado wrote:

    Hi Ed,
    i think PrinterSetup.PrintableHeight is what you need. The value is in Report Unit.
    Cheers.
    Gianantonio.
This discussion has been closed.