[]
Loads the current document from a stream. The stream should contain a document in C1D format.
public void Load(Stream stream)
Public Sub Load(stream As Stream)
| Type | Name | Description |
|---|---|---|
| Stream | stream | The stream from which to load the document. |
Loads the current document from a stream.
public void Load(Stream stream, object documentFormat)
Public Sub Load(stream As Stream, documentFormat As Object)
| Type | Name | Description |
|---|---|---|
| Stream | stream | The stream from which to load the document. |
| object | documentFormat | The document persistence format to use. |
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.
public void Load(string fileName)
Public Sub Load(fileName As String)
| Type | Name | Description |
|---|---|---|
| string | fileName | The file name. |
Loads the current document from a file.
public void Load(string fileName, object documentFormat)
Public Sub Load(fileName As String, documentFormat As Object)
| Type | Name | Description |
|---|---|---|
| string | fileName | The file name. |
| object | documentFormat | The document persistence format to use. |