How to: Add a rtf file to the report?  
Author Message
Long Xue





PostPosted: Visual Studio Report Controls, How to: Add a rtf file to the report? Top

I'm making a sales contract with the report control, what I want to do is: each time the report is generated, it will import a rtf file ( for terms and conditions ) to the report and show it correctly with the report.

Is there any way I can do this with the report control

Thanks in advacne.

Long



Visual Studio42  
 
 
Rajeev Karunakaran





PostPosted: Visual Studio Report Controls, How to: Add a rtf file to the report? Top

The current version of ReportViewer does not support rich text. (i.e., no support for mixing fonts in a single textbox.) You will need to convert the rtf to plain text before feeding it to ReportViewer. You can apply a style to the textbox, but only one style per textbox.

Support for rich text is planned for a future release.


 
 
Long Xue





PostPosted: Visual Studio Report Controls, How to: Add a rtf file to the report? Top

Thanks, Rajeev,

Long