Saves the document that is currently loaded in the DocumentController to a file.

Save(String, TXTextControl.StreamType, TXTextControl.SaveSettings)

public void Save(string filename, TXTextControl.StreamType fileFormat, TXTextControl.SaveSettings saveSettings);
Public Sub Save(ByVal filename As String, ByVal fileFormat As TXTextControl.StreamType, ByVal saveSettings As TXTextControl.SaveSettings)

Parameters

Parameter Description
filename Specifies a file into which the data is saved. If the file does not exist, it is created. If the file exists, its contents are overwritten.
fileFormat Specifies one of the StreamType values.
saveSettings Specifies a SaveSettings object with additional information and settings for the save operation.