Wimark.Controls Class Library  

RichTextBox.LoadFile(String, RichTextBoxStreamType) Method

Loads a specific type of file into the RichTextBox control.

[Visual Basic]
Overloads Public Sub LoadFile( _
   ByVal path As String, _
   ByVal fileType As RichTextBoxStreamType _
)
 
[C#]
public void LoadFile( 
   string path, 
   RichTextBoxStreamType fileType 
);
[C++]
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.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family

See Also

RichTextBox Class | RichTextBox Members | Wimark.Controls Namespace