TXTextControl.DocumentServer.MailMerge.SaveDocumentToMemory Method

Saves the merged document.

SaveDocumentToMemory(Byte[], BinaryStreamType, SaveSettings)

Saves the merged document to a byte array.

[C#]
public void SaveDocumentToMemory(out byte[] data, TXTextControl.BinaryStreamType fileFormat, TXTextControl.SaveSettings saveSettings);
[Visual Basic]
Public Sub SaveDocumentToMemory(ByRef data As Byte(), ByVal fileFormat As TXTextControl.BinaryStreamType, ByVal saveSettings As TXTextControl.SaveSettings)
Parameter Description
data

Specifies a byte array or a string into which the data is saved. No memory needs to be allocated through the caller.

fileFormat

Specifies one of the BinaryStreamType or the StringStreamType values.

saveSettings

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

SaveDocumentToMemory(String, StringStreamType, SaveSettings)

Saves the merged document to a string.

[C#]
public void SaveDocumentToMemory(out string data, TXTextControl.StringStreamType fileFormat, TXTextControl.SaveSettings saveSettings);
[Visual Basic]
Public Sub SaveDocumentToMemory(ByRef data As String, ByVal fileFormat As TXTextControl.StringStreamType, ByVal saveSettings As TXTextControl.SaveSettings)
Parameter Description
data

Specifies a byte array or a string into which the data is saved. No memory needs to be allocated through the caller.

fileFormat

Specifies one of the BinaryStreamType or the StringStreamType values.

saveSettings

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

See Also