MobileForms Toolkit Documentation

RichTextBox.LoadFile Method (String, RichTextBoxStreamType)

Loads a specific type of file into the RichTextBox control.

public void LoadFile(
string path,
RichTextBoxStreamType fileType
);

Parameters

path
The name and location of the file to load into the control.
fileType
One of the RichTextBoxStreamType values.

Exceptions

Exception Type Condition
IOException An error occurred while loading the file into the control.
ArgumentException The file being loaded is not an RTF document.

See Also

RichTextBox Class | Resco.Controls.RichTextBox Namespace | RichTextBox.LoadFile Overload List