Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet method
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)
Parameter | Type | Description |
---|---|---|
inputStream | System::SharedPtr<System::IO::Stream> | Input document stream. |
pageSize | System::SharedPtr<PageSize> | Desired page size. |
leftPages | System::ArrayPtr<int32_t> | Array of page numbers which will be placed in left. |
rightPages | System::ArrayPtr<int32_t> | Array of page numbers which will b eplaced in right. |
response | 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
- Class PageSize
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
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)
Parameter | Type | Description |
---|---|---|
inputStream | System::SharedPtr<System::IO::Stream> | Input document stream. |
pageSize | System::SharedPtr<PageSize> | Desired page size in output file. |
response | 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
- Class PageSize
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
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)
Parameter | Type | Description |
---|---|---|
inputStream | System::SharedPtr<System::IO::Stream> | Input pdf stream. |
outputStream | 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
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
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)
Parameter | Type | Description |
---|---|---|
inputStream | System::SharedPtr<System::IO::Stream> | The input stream. |
outputStream | System::SharedPtr<System::IO::Stream> | output pdf stream. |
leftPages | System::ArrayPtr<int32_t> | The left pages. |
rightPages | 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
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
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)
Parameter | Type | Description |
---|---|---|
inputStream | System::SharedPtr<System::IO::Stream> | Input PDF stream. |
outputStream | System::SharedPtr<System::IO::Stream> | output pdf stream. |
pageSize | 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
- Class PageSize
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
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)
Parameter | Type | Description |
---|---|---|
inputStream | System::SharedPtr<System::IO::Stream> | The input stream. |
outputStream | System::SharedPtr<System::IO::Stream> | output pdf stream. |
pageSize | System::SharedPtr<PageSize> | The page size of the output pdf file. |
leftPages | System::ArrayPtr<int32_t> | The left pages. |
rightPages | 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
- Class PageSize
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
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)
Parameter | Type | Description |
---|---|---|
inputFile | System::String | Source file path. |
pageSize | System::SharedPtr<PageSize> | Desired page size. |
leftPages | System::ArrayPtr<int32_t> | Aray of page numbers to be placed in left. |
rightPages | System::ArrayPtr<int32_t> | Array of page numbers to be placed in right. |
response | 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
- Class PageSize
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
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)
Parameter | Type | Description |
---|---|---|
inputFile | System::String | Source file path. |
pageSize | System::SharedPtr<PageSize> | Desired page size in output file. |
response | 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
- Class PageSize
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
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)
Parameter | Type | Description |
---|---|---|
inputFile | System::String | Input pdf file path and name. |
outputFile | 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
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
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)
Parameter | Type | Description |
---|---|---|
inputFile | System::String | The input file. |
outputFile | System::String | Output pdf file path and name. |
leftPages | System::ArrayPtr<int32_t> | The left pages of the booklet. |
rightPages | 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
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
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)
Parameter | Type | Description |
---|---|---|
inputFile | System::String | Input pdf file path and name. |
outputFile | System::String | Output pdf file path and name. |
pageSize | 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
- Class PageSize
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
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)
Parameter | Type | Description |
---|---|---|
inputFile | System::String | The input file. |
outputFile | System::String | Output pdf file path and name. |
pageSize | System::SharedPtr<PageSize> | The page size of the output pdf file. |
leftPages | System::ArrayPtr<int32_t> | The left pages. |
rightPages | 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
- Class PageSize
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++