Aspose::Pdf::Facades::PdfFileEditor::Extract method
Contents
[
Hide
]PdfFileEditor::Extract(const System::SharedPtr<System::IO::Stream>&, const System::ArrayPtr<int32_t>&, const System::SharedPtr<System::IO::Stream>&) method
Extracts pages specified by number array, saves as a new Pdf file.
bool Aspose::Pdf::Facades::PdfFileEditor::Extract(const System::SharedPtr<System::IO::Stream> &inputStream, const System::ArrayPtr<int32_t> &pageNumber, const System::SharedPtr<System::IO::Stream> &outputStream)
| Parameter | Type | Description |
|---|---|---|
| inputStream | const System::SharedPtr<System::IO::Stream>& | Input file Stream. |
| pageNumber | const System::ArrayPtr<int32_t>& | Index of page out of the input file. |
| outputStream | const System::SharedPtr<System::IO::Stream>& | Output file stream. |
ReturnValue
True for success, or false.
See Also
- Typedef SharedPtr
- Class Stream
- Typedef ArrayPtr
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileEditor::Extract(const System::SharedPtr<System::IO::Stream>&, const System::ArrayPtr<int32_t>&, const System::SharedPtr<System::Web::HttpResponse>&) method
Extracts specified pages form source file and stores result into HttpResponse object.
bool Aspose::Pdf::Facades::PdfFileEditor::Extract(const System::SharedPtr<System::IO::Stream> &inputStream, const System::ArrayPtr<int32_t> &pageNumber, const System::SharedPtr<System::Web::HttpResponse> &response)
| Parameter | Type | Description |
|---|---|---|
| inputStream | const System::SharedPtr<System::IO::Stream>& | Stream of source document. |
| pageNumber | const System::ArrayPtr<int32_t>& | Array of page numbers which will be extracted. |
| response | const System::SharedPtr<System::Web::HttpResponse>& | HttpResponse object where result will be stored. |
ReturnValue
True if operation was succeeded.
See Also
- Typedef SharedPtr
- Class Stream
- Typedef ArrayPtr
- Class HttpResponse
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileEditor::Extract(const System::SharedPtr<System::IO::Stream>&, int32_t, int32_t, const System::SharedPtr<System::IO::Stream>&) method
Extracts pages from input file,saves as a new Pdf file.
bool Aspose::Pdf::Facades::PdfFileEditor::Extract(const System::SharedPtr<System::IO::Stream> &inputStream, int32_t startPage, int32_t endPage, const System::SharedPtr<System::IO::Stream> &outputStream)
| Parameter | Type | Description |
|---|---|---|
| inputStream | const System::SharedPtr<System::IO::Stream>& | Input file Stream. |
| startPage | int32_t | Start page number. |
| endPage | int32_t | End page number. |
| outputStream | const System::SharedPtr<System::IO::Stream>& | Output Pdf file Stream. |
ReturnValue
True for success, or false.
See Also
- Typedef SharedPtr
- Class Stream
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileEditor::Extract(const System::String&, const System::ArrayPtr<int32_t>&, const System::SharedPtr<System::Web::HttpResponse>&) method
Extracts specified pages from source file and stores result into HttpResponse object.
bool Aspose::Pdf::Facades::PdfFileEditor::Extract(const System::String &inputFile, const System::ArrayPtr<int32_t> &pageNumber, const System::SharedPtr<System::Web::HttpResponse> &response)
| Parameter | Type | Description |
|---|---|---|
| inputFile | const System::String& | Source file path. |
| pageNumber | const System::ArrayPtr<int32_t>& | Array of page numbers which will be extracted. |
| response | const System::SharedPtr<System::Web::HttpResponse>& | HttpResponse object where result will be stored. |
ReturnValue
true if pages were extracted successfully.
See Also
- Class String
- Typedef ArrayPtr
- Typedef SharedPtr
- Class HttpResponse
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileEditor::Extract(const System::String&, const System::ArrayPtr<int32_t>&, const System::String&) method
Extracts pages specified by number array, saves as a new PDF file.
bool Aspose::Pdf::Facades::PdfFileEditor::Extract(const System::String &inputFile, const System::ArrayPtr<int32_t> &pageNumber, const System::String &outputFile)
| Parameter | Type | Description |
|---|---|---|
| inputFile | const System::String& | Input file path. |
| pageNumber | const System::ArrayPtr<int32_t>& | Index of page out of the input file. |
| outputFile | const System::String& | Output file path. |
ReturnValue
True if operation was succeeded.
See Also
- Class String
- Typedef ArrayPtr
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileEditor::Extract(const System::String&, int32_t, int32_t, const System::String&) method
Extracts pages from input file,saves as a new Pdf file.
bool Aspose::Pdf::Facades::PdfFileEditor::Extract(const System::String &inputFile, int32_t startPage, int32_t endPage, const System::String &outputFile)
| Parameter | Type | Description |
|---|---|---|
| inputFile | const System::String& | Input Pdf file path. |
| startPage | int32_t | Start page number. |
| endPage | int32_t | End page number. |
| outputFile | const System::String& | Output Pdf file path. |
ReturnValue
True for success, or false.
See Also
- Class String
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++