Saves the complete contents of a document with the specified format.
public void Save(string path, StreamType streamType);Public Sub Save(ByVal path As String, ByVal streamType As StreamType)public void Save(System.IO.FileStream fileStream, StreamType streamType);Public Sub Save(ByVal fileStream As System.IO.FileStream, ByVal streamType As StreamType)public void Save(out byte[] binaryData, BinaryStreamType binaryStreamType);Public Sub Save(ByRef binaryData As Byte(), ByVal binaryStreamType As BinaryStreamType)public void Save(out string stringData, StringStreamType stringStreamType);Public Sub Save(ByRef stringData As String, ByVal stringStreamType As StringStreamType)public void Save(string path, StreamType streamType, SaveSettings saveSettings);Public Sub Save(ByVal path As String, ByVal streamType As StreamType, ByVal saveSettings As SaveSettings)public void Save(System.IO.FileStream fileStream, StreamType streamType, SaveSettings saveSettings);Public Sub Save(ByVal fileStream As System.IO.FileStream, ByVal streamType As StreamType, ByVal saveSettings As SaveSettings)public void Save(out byte[] binaryData, BinaryStreamType binaryStreamType, SaveSettings saveSettings);Public Sub Save(ByRef binaryData As Byte(), ByVal binaryStreamType As BinaryStreamType, ByVal saveSettings As SaveSettings)public void Save(out string stringData, StringStreamType stringStreamType, SaveSettings saveSettings);Public Sub Save(ByRef stringData As String, ByVal stringStreamType As StringStreamType, ByVal saveSettings As SaveSettings)| Parameter | Description |
|---|---|
| stream |
Specifies one of the Stream |
| path | 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. |
| file |
Specifies a file into which the data is saved. The data is saved at the stream's current position. |
| binary |
Specifies a byte array into which the data is saved. No memory needs to be allocated through the caller. |
| string |
Specifies a string into which the data is saved. No memory needs to be allocated through the caller. |
| binary |
Specifies one of the Binary |
| string |
Specifies one of the String |
| save |
Specifies a Save |
Learn more about the TXText