Background:
There will be times where you have a fully formatted Word Document that you would like to include in your report. Below we will cover the steps needed to include that document in a Section Report.
Steps To Complete:
- Open your Document using Microsoft Word or Google Docs.
- Go through the following options File > Save As > Web Page (*.htm, *.html) for Word and File > Download > Web Page (.html, zipped).
- Open your ActiveReports designer of choice (Desktop/Web/Standalone/Visual Studio) and open an existing or new Section Report.
- Add a RichTextBox Control to the report.
- Right Click the RichTextBox and select Properties.
- In the Properties Pane on the right, select Load File... which can be found at the bottom.
- Navigate to where you saved the file in Step 2 and click OK.
- You may now preview the report with the now formatted text box.
Resources:
For more information on loading a file into a RichTextBox please see the following link: /activereportsnet/docs/latest/online/Load-file-into-rich-text-control.html
For more information on the RichTextBox Control please see the following link: /activereportsnet/docs/latest/online/rich-textbox.html
Tags:
Christian Pacelli
Technical Engagement Engineer