Loads the current document from a stream.

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

Syntax

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

Parameters

stream
Type: System.IO..::..Stream
The stream from which to load the document.
documentFormat
Type: C1.C1Preview..::..C1DocumentFormatEnum
The document persistence format to use.

See Also