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

Contents
[ ]

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

Make booklet from PDF file and stores it into HttpResponse.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet(const System::SharedPtr<System::IO::Stream> &inputStream, const System::SharedPtr<PageSize> &pageSize, const System::ArrayPtr<int32_t> &leftPages, const System::ArrayPtr<int32_t> &rightPages, const System::SharedPtr<System::Web::HttpResponse> &response)
ParameterTypeDescription
inputStreamconst System::SharedPtr<System::IO::Stream>&Input document stream.
pageSizeconst System::SharedPtr<PageSize>&Desired page size.
leftPagesconst System::ArrayPtr<int32_t>&Array of page numbers which will be placed in left.
rightPagesconst System::ArrayPtr<int32_t>&Array of page numbers which will b eplaced in right.
responseconst System::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(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<PageSize>&, const System::SharedPtr<System::Web::HttpResponse>&) method

Makes booklet from source file and stores result into HttpResponse.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet(const System::SharedPtr<System::IO::Stream> &inputStream, const System::SharedPtr<PageSize> &pageSize, const System::SharedPtr<System::Web::HttpResponse> &response)
ParameterTypeDescription
inputStreamconst System::SharedPtr<System::IO::Stream>&Input document stream.
pageSizeconst System::SharedPtr<PageSize>&Desired page size in output file.
responseconst System::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(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<System::IO::Stream>&) method

Makes booklet from the InputStream to outputStream.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet(const System::SharedPtr<System::IO::Stream> &inputStream, const System::SharedPtr<System::IO::Stream> &outputStream)
ParameterTypeDescription
inputStreamconst System::SharedPtr<System::IO::Stream>&Input pdf stream.
outputStreamconst System::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(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<System::IO::Stream>&, const System::ArrayPtr<int32_t>&, const System::ArrayPtr<int32_t>&) method

Makes customized booklet from the firstInputStream to outputStream.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet(const System::SharedPtr<System::IO::Stream> &inputStream, const System::SharedPtr<System::IO::Stream> &outputStream, const System::ArrayPtr<int32_t> &leftPages, const System::ArrayPtr<int32_t> &rightPages)
ParameterTypeDescription
inputStreamconst System::SharedPtr<System::IO::Stream>&The input stream.
outputStreamconst System::SharedPtr<System::IO::Stream>&output pdf stream.
leftPagesconst System::ArrayPtr<int32_t>&The left pages.
rightPagesconst System::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(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<PageSize>&) method

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

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet(const System::SharedPtr<System::IO::Stream> &inputStream, const System::SharedPtr<System::IO::Stream> &outputStream, const System::SharedPtr<PageSize> &pageSize)
ParameterTypeDescription
inputStreamconst System::SharedPtr<System::IO::Stream>&Input PDF stream.
outputStreamconst System::SharedPtr<System::IO::Stream>&output pdf stream.
pageSizeconst System::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(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<PageSize>&, const System::ArrayPtr<int32_t>&, const System::ArrayPtr<int32_t>&) method

Makes booklet from the firstInputStream to outputStream.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet(const System::SharedPtr<System::IO::Stream> &inputStream, const System::SharedPtr<System::IO::Stream> &outputStream, const System::SharedPtr<PageSize> &pageSize, const System::ArrayPtr<int32_t> &leftPages, const System::ArrayPtr<int32_t> &rightPages)
ParameterTypeDescription
inputStreamconst System::SharedPtr<System::IO::Stream>&The input stream.
outputStreamconst System::SharedPtr<System::IO::Stream>&output pdf stream.
pageSizeconst System::SharedPtr<PageSize>&The page size of the output pdf file.
leftPagesconst System::ArrayPtr<int32_t>&The left pages.
rightPagesconst System::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(const System::String&, const System::SharedPtr<PageSize>&, const System::ArrayPtr<int32_t>&, const System::ArrayPtr<int32_t>&, const System::SharedPtr<System::Web::HttpResponse>&) method

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

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet(const System::String &inputFile, const System::SharedPtr<PageSize> &pageSize, const System::ArrayPtr<int32_t> &leftPages, const System::ArrayPtr<int32_t> &rightPages, const System::SharedPtr<System::Web::HttpResponse> &response)
ParameterTypeDescription
inputFileconst System::String&Source file path.
pageSizeconst System::SharedPtr<PageSize>&Desired page size.
leftPagesconst System::ArrayPtr<int32_t>&Aray of page numbers to be placed in left.
rightPagesconst System::ArrayPtr<int32_t>&Array of page numbers to be placed in right.
responseconst System::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(const System::String&, const System::SharedPtr<PageSize>&, const System::SharedPtr<System::Web::HttpResponse>&) method

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

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet(const System::String &inputFile, const System::SharedPtr<PageSize> &pageSize, const System::SharedPtr<System::Web::HttpResponse> &response)
ParameterTypeDescription
inputFileconst System::String&Source file path.
pageSizeconst System::SharedPtr<PageSize>&Desired page size in output file.
responseconst System::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(const System::String&, const System::String&) method

Makes booklet from the input file to output file.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet(const System::String &inputFile, const System::String &outputFile)
ParameterTypeDescription
inputFileconst System::String&Input pdf file path and name.
outputFileconst System::String&Output 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(const System::String&, const System::String&, const System::ArrayPtr<int32_t>&, const System::ArrayPtr<int32_t>&) method

Makes customized booklet from the firstInputFile to outputFile.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet(const System::String &inputFile, const System::String &outputFile, const System::ArrayPtr<int32_t> &leftPages, const System::ArrayPtr<int32_t> &rightPages)
ParameterTypeDescription
inputFileconst System::String&The input file.
outputFileconst System::String&Output pdf file path and name.
leftPagesconst System::ArrayPtr<int32_t>&The left pages of the booklet.
rightPagesconst System::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(const System::String&, const System::String&, const System::SharedPtr<PageSize>&) method

Makes booklet from the inputFile to outputFile.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet(const System::String &inputFile, const System::String &outputFile, const System::SharedPtr<PageSize> &pageSize)
ParameterTypeDescription
inputFileconst System::String&Input pdf file path and name.
outputFileconst System::String&Output pdf file path and name.
pageSizeconst System::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(const System::String&, const System::String&, const System::SharedPtr<PageSize>&, const System::ArrayPtr<int32_t>&, const System::ArrayPtr<int32_t>&) method

Makes customized booklet from the firstInputFile to outputFile.

bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet(const System::String &inputFile, const System::String &outputFile, const System::SharedPtr<PageSize> &pageSize, const System::ArrayPtr<int32_t> &leftPages, const System::ArrayPtr<int32_t> &rightPages)
ParameterTypeDescription
inputFileconst System::String&The input file.
outputFileconst System::String&Output pdf file path and name.
pageSizeconst System::SharedPtr<PageSize>&The page size of the output pdf file.
leftPagesconst System::ArrayPtr<int32_t>&The left pages.
rightPagesconst System::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