Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp method
PdfFileEditor::TryMakeNUp(const System::ArrayPtr<System::SharedPtr<System::IO::Stream>>&, const System::SharedPtr<System::IO::Stream>&, bool) method
Makes N-Up document from the multi input PDF streams to outputStream. Each page of outputStream will contain multi pages, which are combination with pages in the input streams of the same page number. The multi-pages piled up horizontally if isSidewise is true and piled up vertically if isSidewise is false.
bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp(const System::ArrayPtr<System::SharedPtr<System::IO::Stream>> &inputStreams, const System::SharedPtr<System::IO::Stream> &outputStream, bool isSidewise)
| Parameter | Type | Description |
|---|---|---|
| inputStreams | const System::ArrayPtr<System::SharedPtr<System::IO::Stream>>& | Input Pdf streams. |
| outputStream | const System::SharedPtr<System::IO::Stream>& | Output pdf stream. |
| isSidewise | bool | Piled up way, true for horizontally and false for vertically. |
ReturnValue
true if operation completed successfully; otherwise, false.
Remarks
The TryMakeNUp method is like the MakeNUp method, except the TryMakeNUp method does not throw an exception if the operation fails.
See Also
- Typedef ArrayPtr
- Typedef SharedPtr
- Class Stream
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileEditor::TryMakeNUp(const System::ArrayPtr<System::String>&, const System::String&, bool) method
Makes N-Up document from the multi input PDF files to outputFile. Each page of outputFile will contain multi pages, which are combination with pages in the input files of the same page number. The multi pages piled up horizontally if isSidewise is true and piled up vertically if isSidewise is false.
bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp(const System::ArrayPtr<System::String> &inputFiles, const System::String &outputFile, bool isSidewise)
| Parameter | Type | Description |
|---|---|---|
| inputFiles | const System::ArrayPtr<System::String>& | Input Pdf files. |
| outputFile | const System::String& | Output pdf file path and name. |
| isSidewise | bool | Piled up way, true for horizontally and false for vertically. |
ReturnValue
true if operation completed successfully; otherwise, false.
Remarks
The TryMakeNUp method is like the MakeNUp method, except the TryMakeNUp method does not throw an exception if the operation fails.
See Also
- Typedef ArrayPtr
- Class String
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileEditor::TryMakeNUp(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<System::IO::Stream>&) method
Makes N-Up document from the two input PDF streams to outputStream.
bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp(const System::SharedPtr<System::IO::Stream> &firstInputStream, const System::SharedPtr<System::IO::Stream> &secondInputStream, const System::SharedPtr<System::IO::Stream> &outputStream)
| Parameter | Type | Description |
|---|---|---|
| firstInputStream | const System::SharedPtr<System::IO::Stream>& | first input stream. |
| secondInputStream | const System::SharedPtr<System::IO::Stream>& | second input stream. |
| outputStream | const System::SharedPtr<System::IO::Stream>& | Output pdf stream. |
ReturnValue
true if operation was completed successfully; otherwise, false
Remarks
The TryMakeNUp method is like the MakeNUp method, except the TryMakeNUp method does not throw an exception if the operation fails.
See Also
- Typedef SharedPtr
- Class Stream
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileEditor::TryMakeNUp(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<System::IO::Stream>&, int32_t, int32_t) method
Makes N-Up document from the input stream and saves result into output stream.
bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp(const System::SharedPtr<System::IO::Stream> &inputStream, const System::SharedPtr<System::IO::Stream> &outputStream, int32_t x, int32_t y)
| Parameter | Type | Description |
|---|---|---|
| inputStream | const System::SharedPtr<System::IO::Stream>& | Input pdf stream. |
| outputStream | const System::SharedPtr<System::IO::Stream>& | Output pdf stream. |
| x | int32_t | Number of columns. |
| y | int32_t | Number of rows. |
ReturnValue
true if operation completed successfully; otherwise, false.
Remarks
The TryMakeNUp method is like the MakeNUp method, except the TryMakeNUp method does not throw an exception if the operation fails.
See Also
- Typedef SharedPtr
- Class Stream
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileEditor::TryMakeNUp(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<System::IO::Stream>&, int32_t, int32_t, const System::SharedPtr<PageSize>&) method
Makes N-Up document from the first input stream to output stream.
bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp(const System::SharedPtr<System::IO::Stream> &inputStream, const System::SharedPtr<System::IO::Stream> &outputStream, int32_t x, int32_t y, const System::SharedPtr<PageSize> &pageSize)
| Parameter | Type | Description |
|---|---|---|
| inputStream | const System::SharedPtr<System::IO::Stream>& | Input pdf stream. |
| outputStream | const System::SharedPtr<System::IO::Stream>& | Output pdf stream. |
| x | int32_t | Number of columns. |
| y | int32_t | Number of rows. |
| pageSize | const System::SharedPtr<PageSize>& | The page size of the output pdf file. |
ReturnValue
true if operation completed successfully; otherwise, false.
Remarks
The TryMakeNUp method is like the MakeNUp method, except the TryMakeNUp method does not throw an exception if the operation fails.
See Also
- Typedef SharedPtr
- Class Stream
- Class PageSize
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileEditor::TryMakeNUp(const System::SharedPtr<System::IO::Stream>&, int32_t, int32_t, const System::SharedPtr<PageSize>&, const System::SharedPtr<System::Web::HttpResponse>&) method
Makes N-up document and stores result into HttpResponse object.
bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp(const System::SharedPtr<System::IO::Stream> &inputStream, int32_t x, int32_t y, const System::SharedPtr<PageSize> &pageSize, const System::SharedPtr<System::Web::HttpResponse> &response)
| Parameter | Type | Description |
|---|---|---|
| inputStream | const System::SharedPtr<System::IO::Stream>& | Stream of source document. |
| x | int32_t | Number of columns. |
| y | int32_t | Number of rows. |
| pageSize | const System::SharedPtr<PageSize>& | Page size in result file. |
| response | const System::SharedPtr<System::Web::HttpResponse>& | HttpResponse object where result will be stored. |
ReturnValue
true if operation completed successfully; otherwise, false.
Remarks
The TryMakeNUp method is like the MakeNUp method, except the TryMakeNUp method does not throw an exception if the operation fails.
See Also
- Typedef SharedPtr
- Class Stream
- Class PageSize
- Class HttpResponse
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileEditor::TryMakeNUp(const System::SharedPtr<System::IO::Stream>&, int32_t, int32_t, const System::SharedPtr<System::Web::HttpResponse>&) method
Makes N-up document and stores result into HttpResponse.
bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp(const System::SharedPtr<System::IO::Stream> &inputStream, int32_t x, int32_t y, const System::SharedPtr<System::Web::HttpResponse> &response)
| Parameter | Type | Description |
|---|---|---|
| inputStream | const System::SharedPtr<System::IO::Stream>& | Stream of input document. |
| x | int32_t | Number of columns. |
| y | int32_t | Number of rows. |
| response | const System::SharedPtr<System::Web::HttpResponse>& | HttpResponse where result will be stored. |
ReturnValue
true if operation completed successfully; otherwise, false.
Remarks
The TryMakeNUp method is like the MakeNUp method, except the TryMakeNUp method does not throw an exception if the operation fails.
See Also
- Typedef SharedPtr
- Class Stream
- Class HttpResponse
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileEditor::TryMakeNUp(const System::String&, const System::String&, const System::String&) method
Makes N-Up document from the two input PDF files to outputFile. Each page of outputFile will contain two pages, one page is from the first input file and another is from the second input file. The two pages are piled up horizontally.
bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp(const System::String &firstInputFile, const System::String &secondInputFile, const System::String &outputFile)
| Parameter | Type | Description |
|---|---|---|
| firstInputFile | const System::String& | first input file. |
| secondInputFile | const System::String& | second input file. |
| outputFile | const System::String& | Output pdf file path and name. |
ReturnValue
true if operation was completed successfully; otherwise, false
Remarks
The TryMakeNUp method is like the MakeNUp method, except the TryMakeNUp method does not throw an exception if the operation fails.
See Also
- Class String
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileEditor::TryMakeNUp(const System::String&, const System::String&, int32_t, int32_t) method
Makes N-Up document from the firstInputFile to outputFile.
bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp(const System::String &inputFile, const System::String &outputFile, int32_t x, int32_t y)
| Parameter | Type | Description |
|---|---|---|
| inputFile | const System::String& | Input pdf file path and name. |
| outputFile | const System::String& | Output pdf file path and name. |
| x | int32_t | Number of columns. |
| y | int32_t | Number of rows. |
ReturnValue
true if operation was completed successfully; otherwise, false.
Remarks
The TryMakeNUp method is like the MakeNUp method, except the TryMakeNUp method does not throw an exception if the operation fails.
See Also
- Class String
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileEditor::TryMakeNUp(const System::String&, const System::String&, int32_t, int32_t, const System::SharedPtr<PageSize>&) method
Makes N-Up document from the input file to outputFile.
bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp(const System::String &inputFile, const System::String &outputFile, int32_t x, int32_t y, const System::SharedPtr<PageSize> &pageSize)
| Parameter | Type | Description |
|---|---|---|
| inputFile | const System::String& | Input pdf file path and name. |
| outputFile | const System::String& | Output pdf file path and name. |
| x | int32_t | Number of columns. |
| y | int32_t | Number of rows. |
| pageSize | const System::SharedPtr<PageSize>& | The page size of the output pdf file. |
ReturnValue
true if operation completed successfully; otherwise, false.
Remarks
The TryMakeNUp method is like the MakeNUp method, except the TryMakeNUp method does not throw an exception if the operation fails.
See Also
- Class String
- Typedef SharedPtr
- Class PageSize
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileEditor::TryMakeNUp(const System::String&, int32_t, int32_t, const System::SharedPtr<PageSize>&, const System::SharedPtr<System::Web::HttpResponse>&) method
Makes N-up document and stores result into HttpResponse object.
bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp(const System::String &inputFile, int32_t x, int32_t y, const System::SharedPtr<PageSize> &pageSize, const System::SharedPtr<System::Web::HttpResponse> &response)
| Parameter | Type | Description |
|---|---|---|
| inputFile | const System::String& | Path to source file. |
| x | int32_t | Number of columns. |
| y | int32_t | Number of rows. |
| pageSize | const System::SharedPtr<PageSize>& | Page size in result file. |
| response | const System::SharedPtr<System::Web::HttpResponse>& | HttpResponse object where result will be stored. |
ReturnValue
true if operation completed successfully; otherwise, false.
Remarks
The TryMakeNUp method is like the MakeNUp method, except the TryMakeNUp method does not throw an exception if the operation fails.
See Also
- Class String
- Typedef SharedPtr
- Class PageSize
- Class HttpResponse
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileEditor::TryMakeNUp(const System::String&, int32_t, int32_t, const System::SharedPtr<System::Web::HttpResponse>&) method
Makes N-up document and stores result into HttpResponse.
bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp(const System::String &inputFile, int32_t x, int32_t y, const System::SharedPtr<System::Web::HttpResponse> &response)
| Parameter | Type | Description |
|---|---|---|
| inputFile | const System::String& | Source file name. |
| x | int32_t | Number of columns. |
| y | int32_t | Number of rows. |
| response | const System::SharedPtr<System::Web::HttpResponse>& | HttpResponse object where result will be stored. |
ReturnValue
true if operation completed successfully; otherwise, false.
Remarks
The TryMakeNUp method is like the MakeNUp method, except the TryMakeNUp method does not throw an exception if the operation fails.
See Also
- Class String
- Typedef SharedPtr
- Class HttpResponse
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++