[]
Saves the current document to a disk file. The persistense format (C1d or C1dx) is determined by the specified file extension. The save format defaults to C1d if the format cannot be determined from the extension.
public void Save(string fileName)
Public Sub Save(fileName As String)
| Type | Name | Description |
|---|---|---|
| string | fileName | The target file name. |
Saves the current document to a disk file using the specified format.
public void Save(string fileName, C1DocumentFormatEnum documentFormat)
Public Sub Save(fileName As String, documentFormat As C1DocumentFormatEnum)
| Type | Name | Description |
|---|---|---|
| string | fileName | The target file name. |
| C1DocumentFormatEnum | documentFormat | The document persistence format to use. |
Saves the current document to a stream using the C1d format.
public void Save(Stream stream)
Public Sub Save(stream As Stream)
| Type | Name | Description |
|---|---|---|
| Stream | stream | The target stream. |
Saves the current document to a stream using the specified format.
public void Save(Stream stream, C1DocumentFormatEnum documentFormat)
Public Sub Save(stream As Stream, documentFormat As C1DocumentFormatEnum)
| Type | Name | Description |
|---|---|---|
| Stream | stream | The target stream. |
| C1DocumentFormatEnum | documentFormat | The document persistence format to use. |