Essa é uma revisão anterior do documento!


Formatador de Relatório - ReportBuilder (Resumo do guia do desenvolvedor)


When we talk about configuring a report while it is generating, we mean anything from setting the caption of a label to conditionally controlling the visibility of an entire subreport. Always keep in mind that ReportBuilder reports are comprised of a collection of objects: Report.Bands[].Objects[]. The report object is the parent of a collection of band objects. Each band object represents a rectangular area of the page and contains a collection of printable objects such as text, images, and memos. All of these objects have properties and events. The events fire while the report is generating, thus enabling us to manipulate the properties and control the behavior of the report.

In order to get a hands-on feel for how this really works, let's code some event handlers that will give you an idea of what can be done while a report is generating.