ActiveReports 14 .NET Edition
ActiveReports 14 User Guide / Samples and Walkthroughs / Samples / Samples / Advanced / Page and RDL Reports / RTF Control
In This Topic
    RTF Control
    In This Topic

    This sample shows using a custom control, RichTextBox, to preview RTF directly in Page/RDL reports without need for conversion to HTML. 

    Just drag and drop the RichTextBox control to the design area, press F2 or Enter or double click the control to enable edit mode, and input the RTF.

    TestDesignerPro

    TestDesignerPro


    TestViewer

    TestViewer

    Sample Location

    Visual Basic.NET

    ..\Samples14\Advanced\PageAndRDL\RtfControl\VB.NET

    C#

    ..\Samples14\Advanced\PageAndRDL\RtfControl\C#

    Details

    To run the sample, set TestViewer or TestDesignerPro as startup project.

    Note that this sample is implemented based on WinForms RichTextBox control that provides display features similar to WordPad RTF, such as:

    The following hotkeys and shortcuts are supported in edit mode: