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

Report measurements after Print

edited September 2014 in General
Hi at All,
is it possible to get the measures of the Report after Print?(the
different band heights, group footer and header height and so on)

I can get the measures before I print the Report.So i.e. the header
height is 50 before print and it's a dynamic header.
But I need the height after print because if it's dynamic it can change
the heiht value.

best regards.

Nick

Comments

  • edited September 2014
    Hi Nick,

    Which version of ReportBuilder and Delphi are you using?

    I'm a bit unclear about what you are trying to accomplish. It is
    possible to keep track of the current position as the report generates
    using the various band events (BeforePrint, AfterPrint, etc.). You can
    do this using the Engine.PrintPosRect property.

    Perhaps more information about what you would like to ultimately do,
    would help us find a solution for you.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2014
    Hi,
    We use Delphi XE2 with RB 14.08.
    We want to create a Delphi form in which the report should be simulated,
    so a direct processing of the data is possible. We use Frames to
    simulate Header,Footer, Groups and so on. Thus, the frames have the same
    height as the various bands in the report, we need the dimensions of the
    report but after the report was generated, not in design-time.
  • edited October 2014
    You can try to used Band.OnCreateDrawCommand event.
    You can look CreateBGDrawCommand method for more details (for define, how
    RB do this)


    On Wed, 24 Sep 2014 17:33:12 +0300, Nick ND. Diener
This discussion has been closed.