Aspose::Pdf::Facades::PdfFileEditor::Append метод

PdfFileEditor::Append(const System::SharedPtr<System::IO::Stream>&, const System::ArrayPtr<System::SharedPtr<System::IO::Stream>>&, int32_t, int32_t, const System::SharedPtr<System::IO::Stream>&) method

Добавляет страницы, выбранные из массива документов в portStreams. Итоговый документ включает firstInputFile и все страницы документов из portStreams в диапазоне от startPage до endPage.

bool Aspose::Pdf::Facades::PdfFileEditor::Append(const System::SharedPtr<System::IO::Stream> &inputStream, const System::ArrayPtr<System::SharedPtr<System::IO::Stream>> &portStreams, int32_t startPage, int32_t endPage, const System::SharedPtr<System::IO::Stream> &outputStream)
ПараметрТипОписание
inputStreamconst System::SharedPtr<System::IO::Stream>&Входной Pdf поток.
portStreamsconst System::ArrayPtr<System::SharedPtr<System::IO::Stream>>&Документы, из которых копировать страницы.
startPageint32_tPage начинается в документах portStreams.
endPageint32_tPage заканчивается в документах portStreams.
outputStreamconst System::SharedPtr<System::IO::Stream>&Выходной Pdf поток.

ReturnValue

True при успехе, иначе false.

См. также

PdfFileEditor::Append(const System::SharedPtr<System::IO::Stream>&, const System::ArrayPtr<System::SharedPtr<System::IO::Stream>>&, int32_t, int32_t, const System::SharedPtr<System::Web::HttpResponse>&) method

Добавляет документы к исходному документу и сохраняет результат в объект response.

bool Aspose::Pdf::Facades::PdfFileEditor::Append(const System::SharedPtr<System::IO::Stream> &inputStream, const System::ArrayPtr<System::SharedPtr<System::IO::Stream>> &portStreams, int32_t startPage, int32_t endPage, const System::SharedPtr<System::Web::HttpResponse> &response)
ПараметрТипОписание
inputStreamconst System::SharedPtr<System::IO::Stream>&Поток, содержащий исходный документ.
portStreamsconst System::ArrayPtr<System::SharedPtr<System::IO::Stream>>&Массив потоков с документами для добавления.
startPageint32_tНачальная страница добавляемой страницы.
endPageint32_tКонечная страница добавляемых страниц.
ответconst System::SharedPtr<System::Web::HttpResponse>&Объект ответа, где будет сохранён документ.

ReturnValue

true, если операция была успешной.

См. также

PdfFileEditor::Append(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<System::IO::Stream>&, int32_t, int32_t, const System::SharedPtr<System::IO::Stream>&) method

Добавляет страницы, выбранные из portStream в диапазоне от startPage до endPage, в portStream в конец firstInputStream.

bool Aspose::Pdf::Facades::PdfFileEditor::Append(const System::SharedPtr<System::IO::Stream> &inputStream, const System::SharedPtr<System::IO::Stream> &portStream, int32_t startPage, int32_t endPage, const System::SharedPtr<System::IO::Stream> &outputStream)
ПараметрТипОписание
inputStreamconst System::SharedPtr<System::IO::Stream>&Входной файловый поток.
portStreamconst System::SharedPtr<System::IO::Stream>&Страницы из Pdf файлового потока.
startPageint32_tPage начинается в потоке portFile.
endPageint32_tPage заканчивается в потоке portFile.
outputStreamconst System::SharedPtr<System::IO::Stream>&Выходной Pdf файловый поток.

ReturnValue

True при успехе, иначе false.

См. также

PdfFileEditor::Append(const System::String&, const System::ArrayPtr<System::String>&, int32_t, int32_t, const System::SharedPtr<System::Web::HttpResponse>&) method

Добавляет документы к исходному документу и сохраняет результат в объект HttpResponse.

bool Aspose::Pdf::Facades::PdfFileEditor::Append(const System::String &inputFile, const System::ArrayPtr<System::String> &portFiles, int32_t startPage, int32_t endPage, const System::SharedPtr<System::Web::HttpResponse> &response)
ПараметрТипОписание
inputFileconst System::String&Имя файла, содержащего исходный документ.
portFilesconst System::ArrayPtr<System::String>&Массив имён файлов, содержащих присоединённые документы.
startPageint32_tНачальная страница присоединённых страниц.
endPageint32_tКонечная страница добавляемых страниц.
ответconst System::SharedPtr<System::Web::HttpResponse>&Объект ответа, где будет сохранён документ.

ReturnValue

true, если операция завершилась успешно.

См. также

PdfFileEditor::Append(const System::String&, const System::ArrayPtr<System::String>&, int32_t, int32_t, const System::String&) method

Добавляет страницы, выбранные из документов portFiles. Итоговый документ включает firstInputFile и все страницы документов из portFiles в диапазоне от startPage до endPage.

bool Aspose::Pdf::Facades::PdfFileEditor::Append(const System::String &inputFile, const System::ArrayPtr<System::String> &portFiles, int32_t startPage, int32_t endPage, const System::String &outputFile)
ПараметрТипОписание
inputFileconst System::String&Входной файл Pdf.
portFilesconst System::ArrayPtr<System::String>&Документы, из которых копировать страницы.
startPageint32_tPage начинается в документах portFiles.
endPageint32_tPage заканчивается в документах portFiles.
outputFileconst System::String&Выходной документ Pdf.

ReturnValue

True, если операция завершилась успешно.

См. также

PdfFileEditor::Append(const System::String&, const System::String&, int32_t, int32_t, const System::String&) method

Добавляет страницы, выбранные из portFile в диапазоне от startPage до endPage, в portFile в конец firstInputFile.

bool Aspose::Pdf::Facades::PdfFileEditor::Append(const System::String &inputFile, const System::String &portFile, int32_t startPage, int32_t endPage, const System::String &outputFile)
ПараметрТипОписание
inputFileconst System::String&Входной файл Pdf.
portFileconst System::String&Страницы из файла Pdf.
startPageint32_tPage начинается в portFile.
endPageint32_tPage заканчивается в portFile.
outputFileconst System::String&Выходной документ Pdf.

ReturnValue

True, если операция завершилась успешно.

См. также