RTF text to standard text

Stimulsoft Reports.NET discussion
Post Reply
Martin
Posts: 5
Joined: Thu Sep 11, 2014 5:19 am

RTF text to standard text

Post by Martin »

Report created with business objects. Some of data's in SQL base stored like RTF text.
There are no problem to get this text on RTF for example: Rtf from {Order.Positions.Comments}.

Is there are possible to convert the RTF text to standard text?

Thank you.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: RTF text to standard text

Post by HighAley »

Hello, Martin.

Unfortunately, it's impossible to get plain text with built-in methods.
But you could use any C# or VB.NET code in the report.
You could find a sample on the How to: Convert RTF to Plain Text (C# Programming Guide).

Thank you.
Post Reply