[]
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)
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)
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)
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)
Type | Name | Description |
---|---|---|
Stream | stream | The target stream. |
C1DocumentFormatEnum | documentFormat | The document persistence format to use. |