Skip to main content Skip to footer

How To Convert a Formatted Word Document For Use In a RichTextBox Control

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:

  1. Open your Document using Microsoft Word or Google Docs.
  2. Go through the following options File > Save As > Web Page (*.htm, *.html) for Word and File > Download > Web Page (.html, zipped).
  3. Open your ActiveReports designer of choice (Desktop/Web/Standalone/Visual Studio) and open an existing or new Section Report.
  4. Add a RichTextBox Control to the report.
  5. Right Click the RichTextBox and select Properties.
  6. In the Properties Pane on the right, select Load File... which can be found at the bottom.
  7. Navigate to where you saved the file in Step 2 and click OK.
  8. 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

Christian Pacelli

Technical Engagement Engineer