Saves the document that is currently loaded in the DocumentController.

SaveToMemory(Out, TXTextControl.BinaryStreamType, TXTextControl.SaveSettings)

public void SaveToMemory(out byte[] data, TXTextControl.BinaryStreamType fileFormat, TXTextControl.SaveSettings saveSettings);

SaveToMemory(Out, TXTextControl.StringStreamType, TXTextControl.SaveSettings)

public void SaveToMemory(out string data, TXTextControl.StringStreamType fileFormat, TXTextControl.SaveSettings saveSettings);

Parameters

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.