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