Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet method

Contents
[ ]

PdfFileEditor::TryMakeBooklet(System::SharedPtr<System::IO::Stream>, System::SharedPtr<PageSize>, System::ArrayPtr<int32_t>, System::ArrayPtr<int32_t>, System::SharedPtr<System::Web::HttpResponse>) method

Make booklet from PDF file and stores it into HttpResponse.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet(System::SharedPtr<System::IO::Stream> inputStream, System::SharedPtr<PageSize> pageSize, System::ArrayPtr<int32_t> leftPages, System::ArrayPtr<int32_t> rightPages, System::SharedPtr<System::Web::HttpResponse> response)
ParameterTypeDescription
inputStreamSystem::SharedPtr<System::IO::Stream>Input document stream.
pageSizeSystem::SharedPtr<PageSize>Desired page size.
leftPagesSystem::ArrayPtr<int32_t>Array of page numbers which will be placed in left.
rightPagesSystem::ArrayPtr<int32_t>Array of page numbers which will b eplaced in right.
responseSystem::SharedPtr<System::Web::HttpResponse>HttpResponse object.

ReturnValue

true if operation completed successfully; otherwise, false.

Remarks

The TryMakeBooklet method is like the MakeBooklet method, except the TryMakeBooklet method does not throw an exception if the operation fails.

See Also

PdfFileEditor::TryMakeBooklet(System::SharedPtr<System::IO::Stream>, System::SharedPtr<PageSize>, System::SharedPtr<System::Web::HttpResponse>) method

Makes booklet from source file and stores result into HttpResponse.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet(System::SharedPtr<System::IO::Stream> inputStream, System::SharedPtr<PageSize> pageSize, System::SharedPtr<System::Web::HttpResponse> response)
ParameterTypeDescription
inputStreamSystem::SharedPtr<System::IO::Stream>Input document stream.
pageSizeSystem::SharedPtr<PageSize>Desired page size in output file.
responseSystem::SharedPtr<System::Web::HttpResponse>Respose object where resut will be saved.

ReturnValue

true if booklet was built successfully.

Remarks

The TryMakeBooklet method is like the MakeBooklet method, except the TryMakeBooklet method does not throw an exception if the operation fails.

See Also

PdfFileEditor::TryMakeBooklet(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>) method

Makes booklet from the InputStream to outputStream.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet(System::SharedPtr<System::IO::Stream> inputStream, System::SharedPtr<System::IO::Stream> outputStream)
ParameterTypeDescription
inputStreamSystem::SharedPtr<System::IO::Stream>Input pdf stream.
outputStreamSystem::SharedPtr<System::IO::Stream>output pdf stream.

ReturnValue

true if operation completed successfully; otherwise, false.

Remarks

The TryMakeBooklet method is like the MakeBooklet method, except the TryMakeBooklet method does not throw an exception if the operation fails.

See Also

PdfFileEditor::TryMakeBooklet(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, System::ArrayPtr<int32_t>) method

Makes customized booklet from the firstInputStream to outputStream.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet(System::SharedPtr<System::IO::Stream> inputStream, System::SharedPtr<System::IO::Stream> outputStream, System::ArrayPtr<int32_t> leftPages, System::ArrayPtr<int32_t> rightPages)
ParameterTypeDescription
inputStreamSystem::SharedPtr<System::IO::Stream>The input stream.
outputStreamSystem::SharedPtr<System::IO::Stream>output pdf stream.
leftPagesSystem::ArrayPtr<int32_t>The left pages.
rightPagesSystem::ArrayPtr<int32_t>The right pages.

ReturnValue

true if operation completed successfully; otherwise, false.

Remarks

The TryMakeBooklet method is like the MakeBooklet method, except the TryMakeBooklet method does not throw an exception if the operation fails.

See Also

PdfFileEditor::TryMakeBooklet(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, System::SharedPtr<PageSize>) method

Makes booklet from the input stream and save result into output stream.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet(System::SharedPtr<System::IO::Stream> inputStream, System::SharedPtr<System::IO::Stream> outputStream, System::SharedPtr<PageSize> pageSize)
ParameterTypeDescription
inputStreamSystem::SharedPtr<System::IO::Stream>Input PDF stream.
outputStreamSystem::SharedPtr<System::IO::Stream>output pdf stream.
pageSizeSystem::SharedPtr<PageSize>The page size of the output pdf file.

ReturnValue

true if operation completed successfully; otherwise, false.

Remarks

The TryMakeBooklet method is like the MakeBooklet method, except the TryMakeBooklet method does not throw an exception if the operation fails.

See Also

PdfFileEditor::TryMakeBooklet(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, System::SharedPtr<PageSize>, System::ArrayPtr<int32_t>, System::ArrayPtr<int32_t>) method

Makes booklet from the firstInputStream to outputStream.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet(System::SharedPtr<System::IO::Stream> inputStream, System::SharedPtr<System::IO::Stream> outputStream, System::SharedPtr<PageSize> pageSize, System::ArrayPtr<int32_t> leftPages, System::ArrayPtr<int32_t> rightPages)
ParameterTypeDescription
inputStreamSystem::SharedPtr<System::IO::Stream>The input stream.
outputStreamSystem::SharedPtr<System::IO::Stream>output pdf stream.
pageSizeSystem::SharedPtr<PageSize>The page size of the output pdf file.
leftPagesSystem::ArrayPtr<int32_t>The left pages.
rightPagesSystem::ArrayPtr<int32_t>The right pages.

ReturnValue

true if operation completed successfully; otherwise, false.

Remarks

The TryMakeBooklet method is like the MakeBooklet method, except the TryMakeBooklet method does not throw an exception if the operation fails.

See Also

PdfFileEditor::TryMakeBooklet(System::String, System::SharedPtr<PageSize>, System::ArrayPtr<int32_t>, System::ArrayPtr<int32_t>, System::SharedPtr<System::Web::HttpResponse>) method

Makes booklet from source file and stores result into HttpResponse objects.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet(System::String inputFile, System::SharedPtr<PageSize> pageSize, System::ArrayPtr<int32_t> leftPages, System::ArrayPtr<int32_t> rightPages, System::SharedPtr<System::Web::HttpResponse> response)
ParameterTypeDescription
inputFileSystem::StringSource file path.
pageSizeSystem::SharedPtr<PageSize>Desired page size.
leftPagesSystem::ArrayPtr<int32_t>Aray of page numbers to be placed in left.
rightPagesSystem::ArrayPtr<int32_t>Array of page numbers to be placed in right.
responseSystem::SharedPtr<System::Web::HttpResponse>HttpResponse object where result will be stored.

ReturnValue

true if operation completed successfully; otherwise, false.

Remarks

The TryMakeBooklet method is like the MakeBooklet method, except the TryMakeBooklet method does not throw an exception if the operation fails.

See Also

PdfFileEditor::TryMakeBooklet(System::String, System::SharedPtr<PageSize>, System::SharedPtr<System::Web::HttpResponse>) method

Makes booklet from source file and stores result into HttpResponse objects.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet(System::String inputFile, System::SharedPtr<PageSize> pageSize, System::SharedPtr<System::Web::HttpResponse> response)
ParameterTypeDescription
inputFileSystem::StringSource file path.
pageSizeSystem::SharedPtr<PageSize>Desired page size in output file.
responseSystem::SharedPtr<System::Web::HttpResponse>HttpResponse object where result will be stored.

ReturnValue

True if operation is succeeded.

Remarks

The TryMakeBooklet method is like the MakeBooklet method, except the TryMakeBooklet method does not throw an exception if the operation fails.

See Also

PdfFileEditor::TryMakeBooklet(System::String, System::String) method

Makes booklet from the input file to output file.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet(System::String inputFile, System::String outputFile)
ParameterTypeDescription
inputFileSystem::StringInput pdf file path and name.
outputFileSystem::StringOutput pdf file path and name.

ReturnValue

true if operation completed successfully; otherwise, false.

Remarks

The TryMakeBooklet method is like the MakeBooklet method, except the TryMakeBooklet method does not throw an exception if the operation fails.

See Also

PdfFileEditor::TryMakeBooklet(System::String, System::String, System::ArrayPtr<int32_t>, System::ArrayPtr<int32_t>) method

Makes customized booklet from the firstInputFile to outputFile.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet(System::String inputFile, System::String outputFile, System::ArrayPtr<int32_t> leftPages, System::ArrayPtr<int32_t> rightPages)
ParameterTypeDescription
inputFileSystem::StringThe input file.
outputFileSystem::StringOutput pdf file path and name.
leftPagesSystem::ArrayPtr<int32_t>The left pages of the booklet.
rightPagesSystem::ArrayPtr<int32_t>The right pages of the booklet.

ReturnValue

true if operation completed successfully; otherwise, false.

Remarks

The TryMakeBooklet method is like the MakeBooklet method, except the TryMakeBooklet method does not throw an exception if the operation fails.

See Also

PdfFileEditor::TryMakeBooklet(System::String, System::String, System::SharedPtr<PageSize>) method

Makes booklet from the inputFile to outputFile.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet(System::String inputFile, System::String outputFile, System::SharedPtr<PageSize> pageSize)
ParameterTypeDescription
inputFileSystem::StringInput pdf file path and name.
outputFileSystem::StringOutput pdf file path and name.
pageSizeSystem::SharedPtr<PageSize>The page size of the output pdf file.

ReturnValue

True if operation is succeeded.

Remarks

The TryMakeBooklet method is like the MakeBooklet method, except the TryMakeBooklet method does not throw an exception if the operation fails.

See Also

PdfFileEditor::TryMakeBooklet(System::String, System::String, System::SharedPtr<PageSize>, System::ArrayPtr<int32_t>, System::ArrayPtr<int32_t>) method

Makes customized booklet from the firstInputFile to outputFile.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet(System::String inputFile, System::String outputFile, System::SharedPtr<PageSize> pageSize, System::ArrayPtr<int32_t> leftPages, System::ArrayPtr<int32_t> rightPages)
ParameterTypeDescription
inputFileSystem::StringThe input file.
outputFileSystem::StringOutput pdf file path and name.
pageSizeSystem::SharedPtr<PageSize>The page size of the output pdf file.
leftPagesSystem::ArrayPtr<int32_t>The left pages.
rightPagesSystem::ArrayPtr<int32_t>The right pages.

ReturnValue

true if operation completed successfully; otherwise, false.

Remarks

The TryMakeBooklet method is like the MakeBooklet method, except the TryMakeBooklet method does not throw an exception if the operation fails.

See Also