A subreport is a report embedded inside another report. A subreport can only be embedded within a section element.
This section explains how to add headings and automatically generate a Table Of Contents (TOC).
Heading elements are a special kind of text element. A heading element has an additional heading level attribute. The heading level has two effects on the element. First, a heading number is automatically generated and optionally printed to the left of the text. Second, the heading elements are also used to create a Table Of Contents (TOC) if a TOC element exists in the report.
To add heading elements to the template, follow these steps:
Painter
To add a painter, click the ‘Painter’ icon. This opens the ‘Painter Properties’ dialog, which is used to set the attributes described above, such as the anchor, text wrapping and margin for the painter. The painter appears as a gray box area on the report, which is where the actual painter will be drawn. The painter object needs to be associated with the template element programmatically.
Image
The image element is commonly used to decorate a page (e.g., adding a corporate logo or fancy report header). Adding an Image Element To add an image to a report, follow the steps below:
Copyright © 2024, InetSoft Technology Corp.