Aspose::Pdf::DocumentFactory::CreateDocument метод

DocumentFactory::CreateDocument() method

Создать пустой документ.

System::SharedPtr<Document> Aspose::Pdf::DocumentFactory::CreateDocument()

ReturnValue

Документ создан.

См. также

DocumentFactory::CreateDocument(const System::SharedPtr<System::IO::Stream>&) method

Загрузить документ из потока.

System::SharedPtr<Document> Aspose::Pdf::DocumentFactory::CreateDocument(const System::SharedPtr<System::IO::Stream> &input)
ПараметрТипОписание
inputconst System::SharedPtr<System::IO::Stream>&Входной поток.

ReturnValue

Документ создан.

См. также

DocumentFactory::CreateDocument(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<LoadOptions>&) method

Создать документ.

System::SharedPtr<Document> Aspose::Pdf::DocumentFactory::CreateDocument(const System::SharedPtr<System::IO::Stream> &input, const System::SharedPtr<LoadOptions> &options)
ПараметрТипОписание
inputconst System::SharedPtr<System::IO::Stream>&Входной поток.
optionsconst System::SharedPtr<LoadOptions>&Document параметры загрузки.

ReturnValue

Документ создан.

См. также

DocumentFactory::CreateDocument(const System::SharedPtr<System::IO::Stream>&, const System::String&) method

Загрузить защищённый паролем документ из потока.

System::SharedPtr<Document> Aspose::Pdf::DocumentFactory::CreateDocument(const System::SharedPtr<System::IO::Stream> &input, const System::String &password)
ПараметрТипОписание
inputconst System::SharedPtr<System::IO::Stream>&Поток источника.
passwordconst System::String&Пароль для доступа к документу.

ReturnValue

Документ создан.

См. также

DocumentFactory::CreateDocument(const System::String&) method

Загрузить документ из файла.

System::SharedPtr<Document> Aspose::Pdf::DocumentFactory::CreateDocument(const System::String &fileName)
ПараметрТипОписание
fileNameconst System::String&Имя PDF‑файла.

ReturnValue

Документ создан.

См. также