Loads text in a certain format. The complete contents of a Text Control are replaced.
public void Load(string path, StreamType streamType);Public Sub Load(ByVal path As String, ByVal streamType As StreamType)public void Load(System.IO.FileStream fileStream, StreamType streamType);Public Sub Load(ByVal fileStream As System.IO.FileStream, ByVal streamType As StreamType)public void Load(byte[] binaryData, BinaryStreamType binaryStreamType);Public Sub Load(ByVal binaryData As Byte(), ByVal binaryStreamType As BinaryStreamType)public void Load(string stringData, StringStreamType stringStreamType);Public Sub Load(ByVal stringData As String, ByVal stringStreamType As StringStreamType)public void Load(string path, StreamType streamType, LoadSettings loadSettings);Public Sub Load(ByVal path As String, ByVal streamType As StreamType, ByVal loadSettings As LoadSettings)public void Load(System.IO.FileStream fileStream, StreamType streamType, LoadSettings loadSettings);Public Sub Load(ByVal fileStream As System.IO.FileStream, ByVal streamType As StreamType, ByVal loadSettings As LoadSettings)public void Load(byte[] binaryData, BinaryStreamType binaryStreamType, LoadSettings loadSettings);Public Sub Load(ByVal binaryData As Byte(), ByVal binaryStreamType As BinaryStreamType, ByVal loadSettings As LoadSettings)public void Load(string stringData, StringStreamType stringStreamType, LoadSettings loadSettings);Public Sub Load(ByVal stringData As String, ByVal stringStreamType As StringStreamType, ByVal loadSettings As LoadSettings)| Parameter | Description |
|---|---|
| stream |
Specifies one of the Stream |
| path | Specifies a file from which the data is loaded. |
| file |
Specifies a file from which the data is loaded. The data is loaded from the stream's current position. |
| binary |
Specifies a byte array from which the data is loaded. |
| string |
Specifies a string from which the data is loaded. |
| binary |
Specifies one of the Binary |
| string |
Specifies one of the String |
| load |
Specifies a Load |
Learn more about the TXText