[]
Creates a new instance of C1PrintDocument class, and loads the document from the specified stream.
public static C1PrintDocument FromStream(Stream stream, C1DocumentFormatEnum documentFormat)
| Type | Name | Description |
|---|---|---|
| Stream | stream | The stream from which to load the document. |
| C1DocumentFormatEnum | documentFormat | The document persistence format to use. |
| Type | Description |
|---|---|
| C1PrintDocument | The C1PrintDocument that was created. |
Creates a new instance of the C1PrintDocument class, and loads the document from the specified stream. The stream must contain a document in the C1d format.
public static C1PrintDocument FromStream(Stream stream)
| Type | Name | Description |
|---|---|---|
| Stream | stream | The stream from which to load the document. |
| Type | Description |
|---|---|
| C1PrintDocument | The C1PrintDocument that was created. |