Load Rich1 from Path?

edited May 2013 in FastReport Studio
Hi,

Can you help me ?
My documents path = "C:\Examples.rtf"

My source code;

Dim text1 As TextObject = TryCast(Report1.FindObject("Text1"), TextObject)
text1.Text = "Hello Word"

Dim image1 As PictureObject = TryCast(Report1.FindObject("Picture1"), PictureObject)
image1.Image = Image.FromFile("D:\1.bmp")
Dim image2 As PictureObject = TryCast(Report1.FindObject("Picture2"), PictureObject)
image2.Image = Image.FromFile("D:\2.bmp")
Dim image3 As PictureObject = TryCast(Report1.FindObject("Picture3"), PictureObject)
image3.Image = Image.FromFile("D:3.bmp")

Dim rich As RichObject = TryCast(Report1.FindObject("Rich1"), RichObject)

rich.load ? // [img]style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> but nothing Report1.Show() How to load rich my document path ? rich.Load("C:\Examples.rtf") Thanks for helps.[/img]

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.