Loads the current document from a file.

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

Syntax

C#
public void Load(
	string fileName,
	C1DocumentFormatEnum documentFormat
)
Visual Basic
Public Sub Load ( _
	fileName As String, _
	documentFormat As C1DocumentFormatEnum _
)

Parameters

fileName
Type: System..::..String
The source file name.
documentFormat
Type: C1.C1Preview..::..C1DocumentFormatEnum
The document persistence format to use.

See Also