Convert RichObject to text when exporting

2018-05-18

Until recently, the export of the RichObject was done as an image. Of course, many people did not like it. In FastReport.Net version 2018.2.3 a new property of the RichObject - ConvertRichText object appeared. This property allows you to enable the export mode of the object in text form, instead of the image. That is, by including this option, we will get the text in any export format, except, of course, exporting to the image.

By tradition, I propose to get acquainted with the new property by example.

We add RichObject to the report page. And load into it the rtf document in the editor:

Now run the report in preview mode and export to PDF.

And we see the picture in the document. Let's return to the report template. Select the RichObject object and set its ConvertRichText property to true. Repeat the export of the report to PDF:

This time, we got a text available for selection. And the text is displayed completely, unlike the example with the image, where the text scope is limited by the size of the RichObject object.

Still there is a minus - the original formatting of the text and the font can be lost, if those are not supported in FastReport.Net.

.NET Export FastReport .NET Export FastReport
February 20, 2025

Using Dot Matrix Printers for Printing Receipts

This article will explore how to integrate a dot matrix printer into the process of creating and outputting reports using FastReport .NET.
February 17, 2025

Adding New Users to FastReport Cloud

In the Business edition of the FastReport Cloud service, you can add users to a single workspace for simultaneous collaboration.
February 10, 2025

How to Try FastReport .NET WEB Before Purchase

By testing the WEB pack before purchasing, you can make an informed choice about whether FastReport is suitable for you.NET for your tasks.
Fast Reports
  • 800-985-8986 (English, US)
  • +31 97 01025-8466 (English, EU)
  • +49 30 56837-3928 (German, DE)
  • +55 19 98147-8148 (Portuguese, BR)
  • info@fast-report.com
  • 66 Canal Center Plaza, Ste 505, Alexandria, VA 22314

© 1998-2025 Fast Reports Inc.