Aspose::Pdf::ComHelper::OpenStream method
Contents
[
Hide
]ComHelper::OpenStream(System::SharedPtr<System::IO::Stream>) method
Initialize and return new Document instance from the input stream.
System::SharedPtr<Document> Aspose::Pdf::ComHelper::OpenStream(System::SharedPtr<System::IO::Stream> input)
Parameter | Type | Description |
---|---|---|
input | System::SharedPtr<System::IO::Stream> | Stream with pdf document. |
ReturnValue
Document object
See Also
- Typedef SharedPtr
- Class Document
- Class Stream
- Class ComHelper
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++
ComHelper::OpenStream(System::SharedPtr<System::IO::Stream>, bool) method
Initialize and return new Document instance from the input stream.
System::SharedPtr<Document> Aspose::Pdf::ComHelper::OpenStream(System::SharedPtr<System::IO::Stream> input, bool isManagedStream)
Parameter | Type | Description |
---|---|---|
input | System::SharedPtr<System::IO::Stream> | Stream with pdf document. |
isManagedStream | bool | if set to true inner stream is closed before exit; otherwise, is not. |
ReturnValue
Document object
See Also
- Typedef SharedPtr
- Class Document
- Class Stream
- Class ComHelper
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++
ComHelper::OpenStream(System::SharedPtr<System::IO::Stream>, System::SharedPtr<LoadOptions>) method
Open and return an existing document from a stream providing necessary converting to get pdf document.
System::SharedPtr<Document> Aspose::Pdf::ComHelper::OpenStream(System::SharedPtr<System::IO::Stream> input, System::SharedPtr<LoadOptions> options)
Parameter | Type | Description |
---|---|---|
input | System::SharedPtr<System::IO::Stream> | Input stream to convert into pdf document. |
options | System::SharedPtr<LoadOptions> | Represents properties for converting input into pdf document. |
ReturnValue
Document object
See Also
- Typedef SharedPtr
- Class Document
- Class Stream
- Class LoadOptions
- Class ComHelper
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++
ComHelper::OpenStream(System::SharedPtr<System::IO::Stream>, System::String) method
Initialize and return new Document instance from the input stream.
System::SharedPtr<Document> Aspose::Pdf::ComHelper::OpenStream(System::SharedPtr<System::IO::Stream> input, System::String password)
Parameter | Type | Description |
---|---|---|
input | System::SharedPtr<System::IO::Stream> | Input stream object, corresponding pdf is password protected. |
password | System::String | User or owner password. |
ReturnValue
Document object
See Also
- Typedef SharedPtr
- Class Document
- Class Stream
- Class String
- Class ComHelper
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++
ComHelper::OpenStream(System::SharedPtr<System::IO::Stream>, System::String, bool) method
Initialize and return new Document instance from the input stream.
System::SharedPtr<Document> Aspose::Pdf::ComHelper::OpenStream(System::SharedPtr<System::IO::Stream> input, System::String password, bool isManagedStream)
Parameter | Type | Description |
---|---|---|
input | System::SharedPtr<System::IO::Stream> | Stream with pdf document. |
password | System::String | User or owner password. |
isManagedStream | bool | if set to true inner stream is closed before exit; otherwise, is not. |
ReturnValue
Document object
See Also
- Typedef SharedPtr
- Class Document
- Class Stream
- Class String
- Class ComHelper
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++