Loads text in a certain format. The complete contents of a Text Control are replaced. This method returns immediately and does not wait for the text to be completely loaded.
public async System.Threading.Tasks.Task LoadTextAsync(string path, Web.StreamType streamType);Public Async Function LoadTextAsync(ByVal path As String, ByVal streamType As Web.StreamType) As System.Threading.Tasks.Taskpublic async System.Threading.Tasks.Task LoadTextAsync(System.IO.FileStream fileStream, Web.StreamType streamType);Public Async Function LoadTextAsync(ByVal fileStream As System.IO.FileStream, ByVal streamType As Web.StreamType) As System.Threading.Tasks.Taskpublic async System.Threading.Tasks.Task LoadTextAsync(byte[] binaryData, Web.BinaryStreamType binaryStreamType);Public Async Function LoadTextAsync(ByVal binaryData As Byte(), ByVal binaryStreamType As Web.BinaryStreamType) As System.Threading.Tasks.Taskpublic async System.Threading.Tasks.Task LoadTextAsync(string stringData, Web.StringStreamType stringStreamType);Public Async Function LoadTextAsync(ByVal stringData As String, ByVal stringStreamType As Web.StringStreamType) As System.Threading.Tasks.Task| 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 |