ActiveReports Developer 7
Rendering
See Also Support Forum
ActiveReports Developer 7 > ActiveReports Developer Guide > Concepts > Page Report Concepts > Rendering

Glossary Item Box

In a Page Layout, you can use the Render method in Rendering Extensions of the PageDocument class to render in any one of the following formats.

HTML

HTML, or hypertext markup language, is a format that opens in a Web browser. It is a good format for delivering content because virtually all users have an HTML browser. You can use the HTMLRenderingExtension to render your report in this format.

In order to render your report in HTML, add reference to the following assemblies in the project:

Note: Rendering to HTML requires the .NET Framework full profile version. To ensure you are using the full profile version, go to the Visual Studio Project menu > Properties > Compile tab > Advanced Compile Options (for Visual Basic projects) or to the Project menu > Properties > Application tab (for C# projects) and under Target framework select a full profile version.

Limitations

Interactivity

Reports rendered in HTML support a number of interactive features. Hyperlinks, Bookmarks and Drill through links can be rendered to HTML. However, Document Maps are not available in this format. For a drill down report, make sure that the data you want to display is expanded before rendering, otherwise it renders in the hidden state.

PDF

Portable Document Format (PDF), is a format recommended for printing and exports. You can use the PDFRenderingExtension to render your report in this format. With the PDF rendering extension, you can use such features as font linking, digital signatures and end-user defined characters.

In order to render your report in PDF, add reference to the following assemblies in the project:

Interactivity

PDF is considered as the best format for printing and it also supports interactive features like Document Map, Bookmarks and Hyperlinks. However, in case you have any data hidden (like in a drill-down report) at the time of rendering, it does not show up in the output. Therefore, it is recommended to expand all toggle items prior to rendering.

PDF/A Support Limitations

Image

Image is the format that converts your report to an image file. You can use the ImageRenderingExtension to your render you report in this format. Make sure that you select an ImageType to any of the six different image formats available: BMP, EMF, GIF, JPEG, TIFF, and PNG.

In order to render your report in an Image format, add reference to the following assemblies in the project:

Interactivity

As the output is an image file, reports rendered in this format do not support interactivity. Any hidden data at the time of rendering is rendered as hidden in the image. Therefore, in order to display all hidden data (like in a drill-down report), expand all toggle items prior to rendering.

XML

XML is a useful format for delivering data to other applications as the resulting XML file opens in an internet browser. You can use the XmlRenderingExtension to render your report in this format.

In order to render your report in XML, add reference to the following assemblies in the project:

Interactivity

XML format does not support interactive features except that when rendering a report to XML, complete drill-down data is shown regardless of whether the data is rendered in expanded state or not.

Word

MS Word is one of the formats to which you can render your report using the WordRenderingExtension.

In order to render your report in MS Word, add reference to the following assemblies in the project:

Limitations

Although background colors for controls export to Word documents, background colors for sections such as Body and Page Header or Footer do not.

Interactivity

Reports rendered in a Word format supports both Bookmarks and Hyperlinks. However, if visibility toggling (like in a drill-down report) is essential to your report, it is recommended to use the HTML rendering extension. And If a Document map is essential to your report, it is recommended to use the PDF rendering extension.

See Also

©2014. ComponentOne, a division of GrapeCity. All rights reserved.