Find Height of Summary Band
What i would like to achieve is
I'm having a subreport2 that shifts relative to another subreport1.
But subreport2 has a Stopposition.
So, what i would like to know if there is a way to find out the size the
summary will have, there is a chart on the summary that has to be resized to
what is available.
Kind Regards
I'm having a subreport2 that shifts relative to another subreport1.
But subreport2 has a Stopposition.
So, what i would like to know if there is a way to find out the size the
summary will have, there is a chart on the summary that has to be resized to
what is available.
Kind Regards
This discussion has been closed.
Comments
The following calculation can be used to determine how much page space it
left. You can place this code in the Band.BeforePrint event.
uses
ppUtils;
begin
liAvailableSpace := ppReport1.PrinterSetup.PageDef.mmPrintableHeight -
ppReport1.Engine.PrintPosRect.Top;
ldAvailableSpaceInInches := ppFromMMTHousandths(liAvailableSpace,
utInches, pprtVertical, ppReport1.Printer);
end;
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com