[]
        
(Showing Draft Content)

C1.C1Schedule.Printing.PrintDocumentWrapper.Load

Load Method

Load(Stream)

Loads the current document from a stream. The stream should contain a document in C1D format.

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

The stream from which to load the document.

Load(Stream, object)

Loads the current document from a stream.

Declaration
public void Load(Stream stream, object documentFormat)
Parameters
Type Name Description
Stream stream

The stream from which to load the document.

object documentFormat

The document persistence format to use.

Load(string)

Loads the current document from a file. The file format (C1D or C1DX) is determined by the file extension. The format defaults to C1D if the format cannot be determined from the extension.

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

The file name.

Load(string, object)

Loads the current document from a file.

Declaration
public void Load(string fileName, object documentFormat)
Parameters
Type Name Description
string fileName

The file name.

object documentFormat

The document persistence format to use.