Aspose::Pdf::Facades::PdfFileEditor::Append method
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
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(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)
| Parameter | Type | Description |
|---|---|---|
| inputStream | const System::SharedPtr<System::IO::Stream>& | Input Pdf stream. |
| portStreams | const System::ArrayPtr<System::SharedPtr<System::IO::Stream>>& | Documents to copy pages from. |
| startPage | int32_t | Page starts in portStreams documents. |
| endPage | int32_t | Page ends in portStreams documents . |
| outputStream | const System::SharedPtr<System::IO::Stream>& | Output Pdf stream. |
ReturnValue
True for success, or false.
See Also
- Typedef SharedPtr
- Class Stream
- Typedef ArrayPtr
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
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
Appends documents to source document and saves result into response object.
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)
| Parameter | Type | Description |
|---|---|---|
| inputStream | const System::SharedPtr<System::IO::Stream>& | Stream which contains source document. |
| portStreams | const System::ArrayPtr<System::SharedPtr<System::IO::Stream>>& | Array of streams with documents to be appended. |
| startPage | int32_t | Start page of appended page. |
| endPage | int32_t | End page of appended pages. |
| response | const System::SharedPtr<System::Web::HttpResponse>& | Response object where document will be saved. |
ReturnValue
true if operation was successful.
See Also
- Typedef SharedPtr
- Class Stream
- Typedef ArrayPtr
- Class HttpResponse
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
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
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(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)
| Parameter | Type | Description |
|---|---|---|
| inputStream | const System::SharedPtr<System::IO::Stream>& | Input file Stream. |
| portStream | const System::SharedPtr<System::IO::Stream>& | Pages from Pdf file Stream. |
| startPage | int32_t | Page starts in portFile Stream. |
| endPage | int32_t | Page ends in portFile Stream. |
| outputStream | const System::SharedPtr<System::IO::Stream>& | Output Pdf file Stream. |
ReturnValue
True for success, or false.
See Also
- Typedef SharedPtr
- Class Stream
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileEditor::Append(const System::String&, const System::ArrayPtr<System::String>&, int32_t, int32_t, const System::SharedPtr<System::Web::HttpResponse>&) method
Appends documents to source document and saves result into HttpResponse object.
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)
| Parameter | Type | Description |
|---|---|---|
| inputFile | const System::String& | Name of file containing source document. |
| portFiles | const System::ArrayPtr<System::String>& | Array of file names containing appended documents. |
| startPage | int32_t | Start page of appended pages. |
| endPage | int32_t | End page of appended pages. |
| response | const System::SharedPtr<System::Web::HttpResponse>& | Response object where document will be saved. |
ReturnValue
true if operation was succeeded.
See Also
- Class String
- Typedef ArrayPtr
- Typedef SharedPtr
- Class HttpResponse
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileEditor::Append(const System::String&, const System::ArrayPtr<System::String>&, int32_t, int32_t, const 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(const System::String &inputFile, const System::ArrayPtr<System::String> &portFiles, int32_t startPage, int32_t endPage, const System::String &outputFile)
| Parameter | Type | Description |
|---|---|---|
| inputFile | const System::String& | Input Pdf file. |
| portFiles | const System::ArrayPtr<System::String>& | Documents to copy pages from. |
| startPage | int32_t | Page starts in portFiles documents. |
| endPage | int32_t | Page ends in portFiles documents . |
| outputFile | const System::String& | Output Pdf document. |
ReturnValue
True if operation was succeeded.
See Also
- Class String
- Typedef ArrayPtr
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileEditor::Append(const System::String&, const System::String&, int32_t, int32_t, const 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(const System::String &inputFile, const System::String &portFile, int32_t startPage, int32_t endPage, const System::String &outputFile)
| Parameter | Type | Description |
|---|---|---|
| inputFile | const System::String& | Input Pdf file. |
| portFile | const System::String& | Pages from Pdf file. |
| startPage | int32_t | Page starts in portFile. |
| endPage | int32_t | Page ends in portFile. |
| outputFile | const System::String& | Output Pdf document. |
ReturnValue
True if operation was succeeded.
See Also
- Class String
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++