Aspose::Pdf::Facades::PdfFileEditor::Append method

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

Appends pages, which are chosen from array of documents in portStreams. The result document includes firstInputFile and all portStreams documents pages in the range startPage to endPage.

bool Aspose::Pdf::Facades::PdfFileEditor::Append(System::SharedPtr<System::IO::Stream> inputStream, System::ArrayPtr<System::SharedPtr<System::IO::Stream>> portStreams, int32_t startPage, int32_t endPage, System::SharedPtr<System::IO::Stream> outputStream)
ParameterTypeDescription
inputStreamSystem::SharedPtr<System::IO::Stream>Input Pdf stream.
portStreamsSystem::ArrayPtr<System::SharedPtr<System::IO::Stream>>Documents to copy pages from.
startPageint32_tPage starts in portStreams documents.
endPageint32_tPage ends in portStreams documents .
outputStreamSystem::SharedPtr<System::IO::Stream>Output Pdf stream.

ReturnValue

True for success, or false.

See Also

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

Appends documents to source document and saves result into response object.

bool Aspose::Pdf::Facades::PdfFileEditor::Append(System::SharedPtr<System::IO::Stream> inputStream, System::ArrayPtr<System::SharedPtr<System::IO::Stream>> portStreams, int32_t startPage, int32_t endPage, System::SharedPtr<System::Web::HttpResponse> response)
ParameterTypeDescription
inputStreamSystem::SharedPtr<System::IO::Stream>Stream which contains source document.
portStreamsSystem::ArrayPtr<System::SharedPtr<System::IO::Stream>>Array of streams with documents to be appended.
startPageint32_tStart page of appended page.
endPageint32_tEnd page of appended pages.
responseSystem::SharedPtr<System::Web::HttpResponse>Response object where document will be saved.

ReturnValue

true if operation was successful.

See Also

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

Appends pages,which are chosen from portStream within the range from startPage to endPage, in portStream at the end of firstInputStream.

bool Aspose::Pdf::Facades::PdfFileEditor::Append(System::SharedPtr<System::IO::Stream> inputStream, System::SharedPtr<System::IO::Stream> portStream, int32_t startPage, int32_t endPage, System::SharedPtr<System::IO::Stream> outputStream)
ParameterTypeDescription
inputStreamSystem::SharedPtr<System::IO::Stream>Input file Stream.
portStreamSystem::SharedPtr<System::IO::Stream>Pages from Pdf file Stream.
startPageint32_tPage starts in portFile Stream.
endPageint32_tPage ends in portFile Stream.
outputStreamSystem::SharedPtr<System::IO::Stream>Output Pdf file Stream.

ReturnValue

True for success, or false.

See Also

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

Appends documents to source document and saves result into HttpResponse object.

bool Aspose::Pdf::Facades::PdfFileEditor::Append(System::String inputFile, System::ArrayPtr<System::String> portFiles, int32_t startPage, int32_t endPage, System::SharedPtr<System::Web::HttpResponse> response)
ParameterTypeDescription
inputFileSystem::StringName of file containing source document.
portFilesSystem::ArrayPtr<System::String>Array of file names containing appended documents.
startPageint32_tStart page of appended pages.
endPageint32_tEnd page of appended pages.
responseSystem::SharedPtr<System::Web::HttpResponse>Response object where document will be saved.

ReturnValue

true if operation was succeeded.

See Also

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

Appends pages, which are chosen from portFiles documents. The result document includes firstInputFile and all portFiles documents pages in the range startPage to endPage.

bool Aspose::Pdf::Facades::PdfFileEditor::Append(System::String inputFile, System::ArrayPtr<System::String> portFiles, int32_t startPage, int32_t endPage, System::String outputFile)
ParameterTypeDescription
inputFileSystem::StringInput Pdf file.
portFilesSystem::ArrayPtr<System::String>Documents to copy pages from.
startPageint32_tPage starts in portFiles documents.
endPageint32_tPage ends in portFiles documents .
outputFileSystem::StringOutput Pdf document.

ReturnValue

True if operation was succeeded.

See Also

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

Appends pages, which are chosen from portFile within the range from startPage to endPage, in portFile at the end of firstInputFile.

bool Aspose::Pdf::Facades::PdfFileEditor::Append(System::String inputFile, System::String portFile, int32_t startPage, int32_t endPage, System::String outputFile)
ParameterTypeDescription
inputFileSystem::StringInput Pdf file.
portFileSystem::StringPages from Pdf file.
startPageint32_tPage starts in portFile.
endPageint32_tPage ends in portFile.
outputFileSystem::StringOutput Pdf document.

ReturnValue

True if operation was succeeded.

See Also