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

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

Вставляет страницы из другого файла во входной Pdf файл.

bool Aspose::Pdf::Facades::PdfFileEditor::Insert(const System::SharedPtr<System::IO::Stream> &inputStream, int32_t insertLocation, const System::SharedPtr<System::IO::Stream> &portStream, const System::ArrayPtr<int32_t> &pageNumber, const System::SharedPtr<System::IO::Stream> &outputStream)
ПараметрТипОписание
inputStreamconst System::SharedPtr<System::IO::Stream>&Входной поток Pdf файла.
insertLocationint32_tПозиция вставки во входном файле.
portStreamconst System::SharedPtr<System::IO::Stream>&Поток Pdf файла для страниц.
pageNumberconst System::ArrayPtr<int32_t>&Номер страницы, импортированной в portFile.
outputStreamconst System::SharedPtr<System::IO::Stream>&Выходной поток.

ReturnValue

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

См. также

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

Вставляет документ в другой документ и сохраняет результат в объект ответа.

bool Aspose::Pdf::Facades::PdfFileEditor::Insert(const System::SharedPtr<System::IO::Stream> &inputStream, int32_t insertLocation, const System::SharedPtr<System::IO::Stream> &portStream, const System::ArrayPtr<int32_t> &pageNumber, const System::SharedPtr<System::Web::HttpResponse> &response)
ПараметрТипОписание
inputStreamconst System::SharedPtr<System::IO::Stream>&Поток с исходным документом
insertLocationint32_tМесто, куда будет вставлен другой документ.
portStreamconst System::SharedPtr<System::IO::Stream>&Document для вставки.
pageNumberconst System::ArrayPtr<int32_t>&Массив номеров страниц во втором документе, которые будут вставлены.
ответconst System::SharedPtr<System::Web::HttpResponse>&Объект ответа, где будет сохранён результат.

ReturnValue

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

См. также

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

Вставляет страницы из другого файла во входной Pdf файл.

bool Aspose::Pdf::Facades::PdfFileEditor::Insert(const System::SharedPtr<System::IO::Stream> &inputStream, int32_t insertLocation, 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>&Входной поток Pdf файла.
insertLocationint32_tПозиция вставки во входном файле.
portStreamconst System::SharedPtr<System::IO::Stream>&Поток Pdf файла для страниц.
startPageint32_tС какой страницы начинать.
endPageint32_tНа какой странице завершить.
outputStreamconst System::SharedPtr<System::IO::Stream>&Выходной поток.

ReturnValue

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

См. также

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

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

bool Aspose::Pdf::Facades::PdfFileEditor::Insert(const System::String &inputFile, int32_t insertLocation, const System::String &portFile, const System::ArrayPtr<int32_t> &pageNumber, const System::SharedPtr<System::Web::HttpResponse> &response)
ПараметрТипОписание
inputFileconst System::String&Имя исходного файла.
insertLocationint32_tНомер Page где будет вставлен второй файл.
portFileconst System::String&Путь к файлу, который будет вставлен.
pageNumberconst System::ArrayPtr<int32_t>&Массив номеров страниц в исходном файле, которые будут вставлены.
ответconst System::SharedPtr<System::Web::HttpResponse>&Объект ответа, где будет сохранён результат.

ReturnValue

true, если вставка была успешной.

См. также

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

Вставляет страницы из другого файла во входной Pdf файл.

bool Aspose::Pdf::Facades::PdfFileEditor::Insert(const System::String &inputFile, int32_t insertLocation, const System::String &portFile, const System::ArrayPtr<int32_t> &pageNumber, const System::String &outputFile)
ПараметрТипОписание
inputFileconst System::String&Входной файл Pdf.
insertLocationint32_tПозиция вставки во входном файле.
portFileconst System::String&Страницы из файла Pdf.
pageNumberconst System::ArrayPtr<int32_t>&Номер страницы, импортированной в portFile.
outputFileconst System::String&Выводит файл Pdf.

ReturnValue

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

См. также

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

Вставляет страницы из другого файла в файл Pdf в указанной позиции.

bool Aspose::Pdf::Facades::PdfFileEditor::Insert(const System::String &inputFile, int32_t insertLocation, const System::String &portFile, int32_t startPage, int32_t endPage, const System::String &outputFile)
ПараметрТипОписание
inputFileconst System::String&Входной файл Pdf.
insertLocationint32_tПозиция во входном файле.
portFileconst System::String&Файл портирования Pdf.
startPageint32_tНачальная позиция в portFile.
endPageint32_tКонечная позиция в portFile.
outputFileconst System::String&Выводит файл Pdf.

ReturnValue

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

См. также