Converter RichObject em texto ao exportar

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 RTF
30 de setembro de 2025

Como instalar o designer de relatórios FastReport .NET com plugins pré-instalados

Leia o artigo a partir da versão 2025.2.5 para FastReport .NET WinForms e FastReport .NET WEB permite instalar um designer de relatórios com todos os plugins sem construir arquivos dll.
23 de setembro de 2025

Como exportar um relatório do FastReport .NET para JPEG / PNG / BMP / GIF / TIFF / EMF

Neste artigo, veremos como exportar relatórios do FastReport .NET de maneira fácil e eficiente em JPEG, PNG, BMP, GIF, TIFF e EMF.
09 de setembro de 2025

Como criar um relatório em PDF no FastReport Cloud

Neste artigo, veremos um exemplo de exportação de um relatório para o formato PDF usando o FastReport Cloud, um serviço SaaS para armazenar, criar e exportar documentos.

© 1998-2025 Fast Reports Inc.