ComHelper.OpenStream
Contents
[
Hide
]OpenStream(Stream)
Initialize and return new Document instance from the input stream.
public Document OpenStream(Stream input)
Parameter | Type | Description |
---|---|---|
input | Stream | Stream with pdf document. |
Return Value
Document object
See Also
- class Document
- class ComHelper
- namespace Aspose.Pdf
- assembly Aspose.PDF
OpenStream(Stream, string)
Initialize and return new Document instance from the input stream.
public Document OpenStream(Stream input, string password)
Parameter | Type | Description |
---|---|---|
input | Stream | Input stream object, corresponding pdf is password protected. |
password | String | User or owner password. |
Return Value
Document object
See Also
- class Document
- class ComHelper
- namespace Aspose.Pdf
- assembly Aspose.PDF
OpenStream(Stream, bool)
Initialize and return new Document instance from the input stream.
public Document OpenStream(Stream input, bool isManagedStream)
Parameter | Type | Description |
---|---|---|
input | Stream | Stream with pdf document. |
isManagedStream | Boolean | if set to true inner stream is closed before exit; otherwise, is not. |
Return Value
Document object
See Also
- class Document
- class ComHelper
- namespace Aspose.Pdf
- assembly Aspose.PDF
OpenStream(Stream, string, bool)
Initialize and return new Document instance from the input stream.
public Document OpenStream(Stream input, string password, bool isManagedStream)
Parameter | Type | Description |
---|---|---|
input | Stream | Stream with pdf document. |
password | String | User or owner password. |
isManagedStream | Boolean | if set to true inner stream is closed before exit; otherwise, is not. |
Return Value
Document object
See Also
- class Document
- class ComHelper
- namespace Aspose.Pdf
- assembly Aspose.PDF
OpenStream(Stream, LoadOptions)
Open and return an existing document from a stream providing necessary converting to get pdf document.
public Document OpenStream(Stream input, LoadOptions options)
Parameter | Type | Description |
---|---|---|
input | Stream | Input stream to convert into pdf document. |
options | LoadOptions | Represents properties for converting input into pdf document. |
Return Value
Document object
See Also
- class Document
- class LoadOptions
- class ComHelper
- namespace Aspose.Pdf
- assembly Aspose.PDF