Method LoadFromFile
LoadFromFile(string, RichTextFileType)
Loads content into the control's buffer using the given type.
bool LoadFromFile(string file, RichTextFileType type = RichTextFileType.Any)
Parameters
file
stringFile name.
type
RichTextFileTypeFile type.
Returns
Remarks
If the specified type is Any, the type is deduced from the filename extension.