Class which allows to create/load documents of different types. More...
#include "DocumentFactory.h"
Inherits Aspose::Pdf::LicenseManagement::IVentureLicenseTarget.
Public Member Functions | |
ASPOSE_PDF_SHARED_API System::SharedPtr< Document > | CreateDocument (System::SharedPtr< System::IO::Stream > input, System::SharedPtr< LoadOptions > options) |
Create document. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< Document > | CreateDocument () |
Create empty document. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< Document > | CreateDocument (System::SharedPtr< System::IO::Stream > input) |
Load document from a stream. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< Document > | CreateDocument (System::SharedPtr< System::IO::Stream > input, System::String password) |
Load password protected document from a stream. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< Document > | CreateDocument (System::String fileName) |
Load document from a file. More... | |
ASPOSE_PDF_SHARED_API | DocumentFactory () |
Class which allows to create/load documents of different types.
ASPOSE_PDF_SHARED_API Aspose::Pdf::DocumentFactory::DocumentFactory | ( | ) |
ASPOSE_PDF_SHARED_API System::SharedPtr<Document> Aspose::Pdf::DocumentFactory::CreateDocument | ( | System::SharedPtr< System::IO::Stream > | input, |
System::SharedPtr< LoadOptions > | options | ||
) |
Create document.
input | Input stream. |
options | Document load options. |
ASPOSE_PDF_SHARED_API System::SharedPtr<Document> Aspose::Pdf::DocumentFactory::CreateDocument | ( | ) |
Create empty document.
ASPOSE_PDF_SHARED_API System::SharedPtr<Document> Aspose::Pdf::DocumentFactory::CreateDocument | ( | System::SharedPtr< System::IO::Stream > | input | ) |
Load document from a stream.
input | Input stream. |
ASPOSE_PDF_SHARED_API System::SharedPtr<Document> Aspose::Pdf::DocumentFactory::CreateDocument | ( | System::SharedPtr< System::IO::Stream > | input, |
System::String | password | ||
) |
Load password protected document from a stream.
input | Source stream. |
password | Passowrd for access to document. |
ASPOSE_PDF_SHARED_API System::SharedPtr<Document> Aspose::Pdf::DocumentFactory::CreateDocument | ( | System::String | fileName | ) |
Load document from a file.
fileName | Name of PDF file. |