Loads text in a certain format. The complete contents of a Text
Introduced: X13.
public Web.MVC.TextControl LoadText(string path, Web.StreamType streamType);
Public Function LoadText(ByVal path As String, ByVal streamType As Web.StreamType) As Web.MVC.TextControl
public Web.MVC.TextControl LoadText(System.IO.FileStream fileStream, Web.StreamType streamType);
Public Function LoadText(ByVal fileStream As System.IO.FileStream, ByVal streamType As Web.StreamType) As Web.MVC.TextControl
public Web.MVC.TextControl LoadText(byte[] binaryData, Web.BinaryStreamType binaryStreamType);
Public Function LoadText(ByVal binaryData As Byte(), ByVal binaryStreamType As Web.BinaryStreamType) As Web.MVC.TextControl
public Web.MVC.TextControl LoadText(string stringData, Web.StringStreamType stringStreamType);
Public Function LoadText(ByVal stringData As String, ByVal stringStreamType As Web.StringStreamType) As Web.MVC.TextControl
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 |
A reference to the Web.