
Loads text in a certain format from a file, a byte array or a string. The complete contents of the control are replaced.
[C#]
public void Load(string path, StreamType streamType);
public void Load(FileStream fileStream, StreamType streamType);
public void Load(byte[] binaryData, BinaryStreamType binaryStreamType);
public void Load(string stringData, StringStreamType stringStreamType);
public void Load(string path, StreamType streamType, LoadSettings loadSettings);
public void Load(FileStream fileStream, StreamType streamType, LoadSettings loadSettings);
public void Load(byte[] binaryData, BinaryStreamType binaryStreamType, LoadSettings loadSettings);
public void Load(string stringData, StringStreamType stringStreamType, LoadSettings loadSettings);
[Visual Basic]
Public Sub Load(ByVal path As String, ByVal streamType As StreamType)
Public Sub Load(ByVal fileStream As FileStream, ByVal streamType As StreamType)
Public Sub Load(ByVal binaryData As Byte(), ByVal binaryStreamType As BinaryStreamType)
Public Sub Load(ByVal stringData As String, ByVal stringStreamType As StringStreamType)
Public Sub Load(ByVal path As String, ByVal streamType As StreamType, ByVal loadSettings As LoadSettings)
Public Sub Load(ByVal fileStream As FileStream, ByVal streamType As StreamType, ByVal loadSettings As LoadSettings)
Public Sub Load(ByVal binaryData As Byte(), ByVal binaryStreamType As BinaryStreamType, ByVal loadSettings As LoadSettings)
Public Sub Load(ByVal stringData As String, ByVal stringStreamType As StringStreamType, ByVal loadSettings As LoadSettings)
| Member | Description | |
| streamType | Specifies one of the StreamType values. | |
| path | Specifies a file from which the data is loaded. | |
| fileStream | Specifies a file from which the data is loaded. The data is loaded from the stream's current position. | |
| binaryData | Specifies a byte array from which the data is loaded. | |
| stringData | Specifies a string from which the data is loaded. | |
| binaryStreamType | Specifies one of the BinaryStreamType values. | |
| stringStreamType | Specifies one of the StringStreamType values. | |
| loadSettings | Specifies a LoadSettings object with additional information and settings for the load operation. |