Hi,Kennth:
I agree with you.
but how can we explain this example as you mentioned above?
--------------------------
editor1.LoadRTF("{\rtf1\........");
--------------------------
The parameter is the content of an RTF.
And also in the developer guide, there is a same example in the *RTF to HTML, HTML to RTF*section.
-------------------------
1. RTF to HTML
In order to convert RTF to HTML, you would use LoadRTF Method:
LoadRTF Method
Loads the contents of an RTF into the CuteEditor control
// Load RTF string
string t = @"{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}} {\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\f0\fs20 Hello\par } ";
Editor1.LoadRTF(t);
// Load RTF file
Editor1.LoadRTF("document.rtf");
-----------------------------------
so if the LoadRTF function just support file path parameter, this example does NOT make sense. :)
Thanks again.
hery2002