TXTextControl.Line.Save Method

Saves the line's text with the specified format.

Save(Byte[], BinaryStreamType)

Saves the line's text in a byte array with the specified format.

[C#]
public void Save(out byte[] binaryData, BinaryStreamType binaryStreamType);
[Visual Basic]
Public Sub Save(ByRef binaryData As Byte(), ByVal binaryStreamType As BinaryStreamType)
Member Description
binaryData

Specifies a byte array into which the line's text is saved. No memory needs to be allocated through the caller.

binaryStreamType

Specifies one of the BinaryStreamType values.

Save(String, StringStreamType)

Saves the line's text as a string with the specified format.

[C#]
public void Save(out string stringData, StringStreamType stringStreamType);
[Visual Basic]
Public Sub Save(ByRef stringData As String, ByVal stringStreamType As StringStreamType)
Member Description
stringData

Specifies a string into which the line's text is saved. No memory needs to be allocated through the caller.

stringStreamType

Specifies one of the StringStreamType values.

Save(Byte[], BinaryStreamType, SaveSettings)

Saves the line's text in a byte array with the specified format and special settings.

[C#]
public void Save(out byte[] binaryData, BinaryStreamType binaryStreamType, SaveSettings saveSettings);
[Visual Basic]
Public Sub Save(ByRef binaryData As Byte(), ByVal binaryStreamType As BinaryStreamType, ByVal saveSettings As SaveSettings)
Member Description
binaryData

Specifies a byte array into which the line's text is saved. No memory needs to be allocated through the caller.

binaryStreamType

Specifies one of the BinaryStreamType values.

saveSettings

Specifies a SaveSettings object with additional information and settings for the save operation.

Save(String, StringStreamType, SaveSettings)

Saves the line's text as a string with the specified format and special settings.

[C#]
public void Save(out string stringData, StringStreamType stringStreamType, SaveSettings saveSettings);
[Visual Basic]
Public Sub Save(ByRef stringData As String, ByVal stringStreamType As StringStreamType, ByVal saveSettings As SaveSettings)
Member Description
stringData

Specifies a string into which the line's text is saved. No memory needs to be allocated through the caller.

stringStreamType

Specifies one of the StringStreamType values.

saveSettings

Specifies a SaveSettings object with additional information and settings for the save operation.

See Also