logo
small logo
  • Products
  • Buy
  • Support
  • About
  • Customer panel Support
    • en
    • de
    • JP
    • ZH
  • Home
  • /
  • Articles
  • /
  • Convert RichObject to text when exporting
  • The Event of ExportParameters in WebReport.Report

    October 5, 2020

    In FastReport 2020.1 we have added the ability to change export parameters. To do this,

    read more
  • MS Word format vs. Open Document Text. Which is better?

    October 19, 2020

    Speaking of text editors, we immediately present coryphaeus as Microsoft Word, which for many years

    read more
  • Want to generate tables for a user - Excel or OpenOffice Calc?

    October 8, 2020

    Tables. For centuries, they have been used to present similar data for record-keeping, counting amounts,

    read more
  • How to import a report from StimulSoft into FastReport .NET

    July 6, 2022

    Import of StimulSoft reports is now available with the 2022.2.13 release. To use it,

    read more
  • How to export report to JSON

    October 4, 2016

    It's nice that the range of formats to export reports to FastReport.Net constantly grows.

    read more

Convert RichObject to text when exporting

May 18, 2018

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.

about product buy
avatar
Dmitriy Fedyashov
Technical Writer
Fast Reports Team: Dmitriy Fedyashov - Technical Writer at Fast Reports
.NET Export FastReport

Add comment
logo
  • 800-985-8986 (English, US)
  • +4930568373928 (German)
  • +55 19 98147-8148 (Portuguese)
  • info@fast-report.com
  • 901 N Pitt Str #325 Alexandria VA 22314
  • Buy
  • Download
  • Documentation
  • Testimonials
  • How to uninstall
  • FAQ
  • Tutorial Video
  • Forum
  • Support SLA
  • Articles
  • Our News
  • Press about us
  • Resellers
  • Extended licensing
  • Contact us

© 1998-2023 by Fast Reports Inc.

  • Privacy Policy

Trustpilot