Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp method

Contents
[ ]

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)
ParameterTypeDescription
inputStreamsconst System::ArrayPtr<System::SharedPtr<System::IO::Stream>>&Input Pdf streams.
outputStreamconst System::SharedPtr<System::IO::Stream>&Output pdf stream.
isSidewiseboolPiled 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

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)
ParameterTypeDescription
inputFilesconst System::ArrayPtr<System::String>&Input Pdf files.
outputFileconst System::String&Output pdf file path and name.
isSidewiseboolPiled 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

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)
ParameterTypeDescription
firstInputStreamconst System::SharedPtr<System::IO::Stream>&first input stream.
secondInputStreamconst System::SharedPtr<System::IO::Stream>&second input stream.
outputStreamconst 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

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)
ParameterTypeDescription
inputStreamconst System::SharedPtr<System::IO::Stream>&Input pdf stream.
outputStreamconst System::SharedPtr<System::IO::Stream>&Output pdf stream.
xint32_tNumber of columns.
yint32_tNumber 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

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)
ParameterTypeDescription
inputStreamconst System::SharedPtr<System::IO::Stream>&Input pdf stream.
outputStreamconst System::SharedPtr<System::IO::Stream>&Output pdf stream.
xint32_tNumber of columns.
yint32_tNumber of rows.
pageSizeconst 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

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)
ParameterTypeDescription
inputStreamconst System::SharedPtr<System::IO::Stream>&Stream of source document.
xint32_tNumber of columns.
yint32_tNumber of rows.
pageSizeconst System::SharedPtr<PageSize>&Page size in result file.
responseconst 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

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)
ParameterTypeDescription
inputStreamconst System::SharedPtr<System::IO::Stream>&Stream of input document.
xint32_tNumber of columns.
yint32_tNumber of rows.
responseconst 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

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)
ParameterTypeDescription
firstInputFileconst System::String&first input file.
secondInputFileconst System::String&second input file.
outputFileconst 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

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)
ParameterTypeDescription
inputFileconst System::String&Input pdf file path and name.
outputFileconst System::String&Output pdf file path and name.
xint32_tNumber of columns.
yint32_tNumber 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

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)
ParameterTypeDescription
inputFileconst System::String&Input pdf file path and name.
outputFileconst System::String&Output pdf file path and name.
xint32_tNumber of columns.
yint32_tNumber of rows.
pageSizeconst 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

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)
ParameterTypeDescription
inputFileconst System::String&Path to source file.
xint32_tNumber of columns.
yint32_tNumber of rows.
pageSizeconst System::SharedPtr<PageSize>&Page size in result file.
responseconst 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

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)
ParameterTypeDescription
inputFileconst System::String&Source file name.
xint32_tNumber of columns.
yint32_tNumber of rows.
responseconst 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