Aspose::Pdf::Facades::PdfFileEditor::Insert method

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

Inserts pages from an other file into the input Pdf file.

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)
ParameterTypeDescription
inputStreamconst System::SharedPtr<System::IO::Stream>&Input Stream of Pdf file.
insertLocationint32_tInsert position in input file.
portStreamconst System::SharedPtr<System::IO::Stream>&Stream of Pdf file for pages.
pageNumberconst System::ArrayPtr<int32_t>&The page number of the ported in portFile.
outputStreamconst System::SharedPtr<System::IO::Stream>&Output Stream.

ReturnValue

True if operation was succeeded.

See Also

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

Inserts document into other document and stores result into response object.

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)
ParameterTypeDescription
inputStreamconst System::SharedPtr<System::IO::Stream>&Stream with source document
insertLocationint32_tLocation where other document will be inserted.
portStreamconst System::SharedPtr<System::IO::Stream>&Document to be inserted.
pageNumberconst System::ArrayPtr<int32_t>&Array of page numbers in second document which will be inserted.
responseconst System::SharedPtr<System::Web::HttpResponse>&Response object where result will be stored.

ReturnValue

True if operation was succeeded.

See Also

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

Inserts pages from an other file into the input Pdf file.

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)
ParameterTypeDescription
inputStreamconst System::SharedPtr<System::IO::Stream>&Input Stream of Pdf file.
insertLocationint32_tInsert position in input file.
portStreamconst System::SharedPtr<System::IO::Stream>&Stream of Pdf file for pages.
startPageint32_tFrom which page to start.
endPageint32_tTo which page to end.
outputStreamconst System::SharedPtr<System::IO::Stream>&Output Stream.

ReturnValue

True for success, or false.

See Also

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

Inserts contents of file into source file and stores result into HttpResponse object.

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)
ParameterTypeDescription
inputFileconst System::String&Source file name.
insertLocationint32_tPage number where second file will be inserted.
portFileconst System::String&Path to file which will be inserted.
pageNumberconst System::ArrayPtr<int32_t>&Array of page numbers in source file wihich will be inserted.
responseconst System::SharedPtr<System::Web::HttpResponse>&Response object where result will be stored.

ReturnValue

true of inserting was successful.

See Also

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

Inserts pages from an other file into the input Pdf file.

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)
ParameterTypeDescription
inputFileconst System::String&Input Pdf file.
insertLocationint32_tInsert position in input file.
portFileconst System::String&Pages from the Pdf file.
pageNumberconst System::ArrayPtr<int32_t>&The page number of the ported in portFile.
outputFileconst System::String&Output Pdf file.

ReturnValue

True for success, or false.

See Also

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

Inserts pages from an other file into the Pdf file at a position.

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)
ParameterTypeDescription
inputFileconst System::String&Input Pdf file.
insertLocationint32_tPosition in input file.
portFileconst System::String&The porting Pdf file.
startPageint32_tStart position in portFile.
endPageint32_tEnd position in portFile.
outputFileconst System::String&Output Pdf file.

ReturnValue

True for success, or false.

See Also