A theme is a collection of properties that defines the appearance of a report. A theme includes colors, fonts, images, and expressions that you can apply to report elements once you add a theme to a report.
You can add one or many themes to a report. If a report has multiple themes, you can use the report's GrapeCity.ActiveReports.PageReportModel.Report.CollateBy property to control the page order in a report. For more information, see Collation.
Use the following instructions to create and add themes.
To create a new theme
- From the Start menu, go to All Programs > GrapeCity > ActiveReports and select ActiveReports Theme Editor.
- In the Theme Editor that opens, define the colors, fonts, images, and constant expressions properties for your new theme under the corresponding tabs.
- On the File menu, select Save.
- Choose a directory on your local machine and enter the name of a new theme, then click Save.
To add a theme to the report
- In the Designer, click the gray area around the report page to select a report.
- In the Properties window, select the Themes property and click the ellipsis (…) button to open the Report - Themes dialog.
- In the Report - Themes dialog that opens, click the Open... icon above the list of themes.
- In the Open dialog that appears, select a theme file from your local files and click Open.
See Also