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

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public void Save(
	Stream stream,
	C1DocumentFormatEnum documentFormat
)
Visual Basic
Public Sub Save ( _
	stream As Stream, _
	documentFormat As C1DocumentFormatEnum _
)

Parameters

stream
Type: System.IO..::..Stream
The target stream.
documentFormat
Type: C1.C1Preview..::..C1DocumentFormatEnum
The document persistence format to use.

See Also