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

Contents
[ ]

PdfFileEditor::TryMakeNUp(System::ArrayPtr<System::SharedPtr<System::IO::Stream>>, 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(System::ArrayPtr<System::SharedPtr<System::IO::Stream>> inputStreams, System::SharedPtr<System::IO::Stream> outputStream, bool isSidewise)
ParameterTypeDescription
inputStreamsSystem::ArrayPtr<System::SharedPtr<System::IO::Stream>>Input Pdf streams.
outputStreamSystem::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(System::ArrayPtr<System::String>, 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(System::ArrayPtr<System::String> inputFiles, System::String outputFile, bool isSidewise)
ParameterTypeDescription
inputFilesSystem::ArrayPtr<System::String>Input Pdf files.
outputFileSystem::StringOutput 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(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>) method

Makes N-Up document from the two input PDF streams to outputStream.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp(System::SharedPtr<System::IO::Stream> firstInputStream, System::SharedPtr<System::IO::Stream> secondInputStream, System::SharedPtr<System::IO::Stream> outputStream)
ParameterTypeDescription
firstInputStreamSystem::SharedPtr<System::IO::Stream>first input stream.
secondInputStreamSystem::SharedPtr<System::IO::Stream>second input stream.
outputStreamSystem::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(System::SharedPtr<System::IO::Stream>, int32_t, int32_t, System::SharedPtr<PageSize>, System::SharedPtr<System::Web::HttpResponse>) method

Makes N-up document and stores result into HttpResponse object.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp(System::SharedPtr<System::IO::Stream> inputStream, int32_t x, int32_t y, System::SharedPtr<PageSize> pageSize, System::SharedPtr<System::Web::HttpResponse> response)
ParameterTypeDescription
inputStreamSystem::SharedPtr<System::IO::Stream>Stream of source document.
xint32_tNumber of columns.
yint32_tNumber of rows.
pageSizeSystem::SharedPtr<PageSize>Page size in result file.
responseSystem::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(System::SharedPtr<System::IO::Stream>, int32_t, int32_t, System::SharedPtr<System::Web::HttpResponse>) method

Makes N-up document and stores result into HttpResponse.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp(System::SharedPtr<System::IO::Stream> inputStream, int32_t x, int32_t y, System::SharedPtr<System::Web::HttpResponse> response)
ParameterTypeDescription
inputStreamSystem::SharedPtr<System::IO::Stream>Stream of input document.
xint32_tNumber of columns.
yint32_tNumber of rows.
responseSystem::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(System::SharedPtr<System::IO::Stream>, 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(System::SharedPtr<System::IO::Stream> inputStream, System::SharedPtr<System::IO::Stream> outputStream, int32_t x, int32_t y)
ParameterTypeDescription
inputStreamSystem::SharedPtr<System::IO::Stream>Input pdf stream.
outputStreamSystem::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(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, int32_t, int32_t, System::SharedPtr<PageSize>) method

Makes N-Up document from the first input stream to output stream.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp(System::SharedPtr<System::IO::Stream> inputStream, System::SharedPtr<System::IO::Stream> outputStream, int32_t x, int32_t y, System::SharedPtr<PageSize> pageSize)
ParameterTypeDescription
inputStreamSystem::SharedPtr<System::IO::Stream>Input pdf stream.
outputStreamSystem::SharedPtr<System::IO::Stream>Output pdf stream.
xint32_tNumber of columns.
yint32_tNumber of rows.
pageSizeSystem::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(System::String, System::String, 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(System::String firstInputFile, System::String secondInputFile, System::String outputFile)
ParameterTypeDescription
firstInputFileSystem::Stringfirst input file.
secondInputFileSystem::Stringsecond input file.
outputFileSystem::StringOutput 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(System::String, int32_t, int32_t, System::SharedPtr<PageSize>, System::SharedPtr<System::Web::HttpResponse>) method

Makes N-up document and stores result into HttpResponse object.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp(System::String inputFile, int32_t x, int32_t y, System::SharedPtr<PageSize> pageSize, System::SharedPtr<System::Web::HttpResponse> response)
ParameterTypeDescription
inputFileSystem::StringPath to source file.
xint32_tNumber of columns.
yint32_tNumber of rows.
pageSizeSystem::SharedPtr<PageSize>Page size in result file.
responseSystem::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(System::String, int32_t, int32_t, System::SharedPtr<System::Web::HttpResponse>) method

Makes N-up document and stores result into HttpResponse.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp(System::String inputFile, int32_t x, int32_t y, System::SharedPtr<System::Web::HttpResponse> response)
ParameterTypeDescription
inputFileSystem::StringSource file name.
xint32_tNumber of columns.
yint32_tNumber of rows.
responseSystem::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(System::String, System::String, int32_t, int32_t) method

Makes N-Up document from the firstInputFile to outputFile.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp(System::String inputFile, System::String outputFile, int32_t x, int32_t y)
ParameterTypeDescription
inputFileSystem::StringInput pdf file path and name.
outputFileSystem::StringOutput 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(System::String, System::String, int32_t, int32_t, System::SharedPtr<PageSize>) method

Makes N-Up document from the input file to outputFile.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp(System::String inputFile, System::String outputFile, int32_t x, int32_t y, System::SharedPtr<PageSize> pageSize)
ParameterTypeDescription
inputFileSystem::StringInput pdf file path and name.
outputFileSystem::StringOutput pdf file path and name.
xint32_tNumber of columns.
yint32_tNumber of rows.
pageSizeSystem::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