Aspose::Pdf::DocumentFactory::CreateDocument method
Contents
[
Hide
]DocumentFactory::CreateDocument() method
Create empty document.
System::SharedPtr<Document> Aspose::Pdf::DocumentFactory::CreateDocument()
ReturnValue
Created document.
See Also
- Typedef SharedPtr
- Class Document
- Class DocumentFactory
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++
DocumentFactory::CreateDocument(const System::SharedPtr<System::IO::Stream>&) method
Load document from a stream.
System::SharedPtr<Document> Aspose::Pdf::DocumentFactory::CreateDocument(const System::SharedPtr<System::IO::Stream> &input)
| Parameter | Type | Description |
|---|---|---|
| input | const System::SharedPtr<System::IO::Stream>& | Input stream. |
ReturnValue
Created document.
See Also
- Typedef SharedPtr
- Class Document
- Class Stream
- Class DocumentFactory
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++
DocumentFactory::CreateDocument(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<LoadOptions>&) method
Create document.
System::SharedPtr<Document> Aspose::Pdf::DocumentFactory::CreateDocument(const System::SharedPtr<System::IO::Stream> &input, const System::SharedPtr<LoadOptions> &options)
| Parameter | Type | Description |
|---|---|---|
| input | const System::SharedPtr<System::IO::Stream>& | Input stream. |
| options | const System::SharedPtr<LoadOptions>& | Document load options. |
ReturnValue
Created document.
See Also
- Typedef SharedPtr
- Class Document
- Class Stream
- Class LoadOptions
- Class DocumentFactory
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++
DocumentFactory::CreateDocument(const System::SharedPtr<System::IO::Stream>&, const System::String&) method
Load password protected document from a stream.
System::SharedPtr<Document> Aspose::Pdf::DocumentFactory::CreateDocument(const System::SharedPtr<System::IO::Stream> &input, const System::String &password)
| Parameter | Type | Description |
|---|---|---|
| input | const System::SharedPtr<System::IO::Stream>& | Source stream. |
| password | const System::String& | Passowrd for access to document. |
ReturnValue
Created document.
See Also
- Typedef SharedPtr
- Class Document
- Class Stream
- Class String
- Class DocumentFactory
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++
DocumentFactory::CreateDocument(const System::String&) method
Load document from a file.
System::SharedPtr<Document> Aspose::Pdf::DocumentFactory::CreateDocument(const System::String &fileName)
| Parameter | Type | Description |
|---|---|---|
| fileName | const System::String& | Name of PDF file. |
ReturnValue
Created document.
See Also
- Typedef SharedPtr
- Class Document
- Class String
- Class DocumentFactory
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++