[]
        
(Showing Draft Content)

C1.C1Preview.C1PrintDocument.Save

Save Method

Save(string)

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.

Declaration
public void Save(string fileName)
Parameters
Type Name Description
string fileName

The target file name.

See Also

Save(string, C1DocumentFormatEnum)

Saves the current document to a disk file using the specified format.

Declaration
public void Save(string fileName, C1DocumentFormatEnum documentFormat)
Parameters
Type Name Description
string fileName

The target file name.

C1DocumentFormatEnum documentFormat

The document persistence format to use.

Save(Stream)

Saves the current document to a stream using the C1d format.

Declaration
public void Save(Stream stream)
Parameters
Type Name Description
Stream stream

The target stream.

Save(Stream, C1DocumentFormatEnum)

Saves the current document to a stream using the specified format.

Declaration
public void Save(Stream stream, C1DocumentFormatEnum documentFormat)
Parameters
Type Name Description
Stream stream

The target stream.

C1DocumentFormatEnum documentFormat

The document persistence format to use.