Aspose::Pdf::Facades::PdfFileEditor::SplitToPages method
Contents
[
Hide
]PdfFileEditor::SplitToPages(const System::SharedPtr<System::IO::Stream>&) method
Splits the Pdf file into single-page documents.
System::ArrayPtr<System::SharedPtr<System::IO::MemoryStream>> Aspose::Pdf::Facades::PdfFileEditor::SplitToPages(const System::SharedPtr<System::IO::Stream> &inputStream)
| Parameter | Type | Description |
|---|---|---|
| inputStream | const System::SharedPtr<System::IO::Stream>& | Input Pdf stream. |
ReturnValue
Array of memory streams which contain pages of the document.
See Also
- Typedef ArrayPtr
- Typedef SharedPtr
- Class MemoryStream
- Class Stream
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileEditor::SplitToPages(const System::SharedPtr<System::IO::Stream>&, const System::String&) method
Split the Pdf file into single-page documents and saves it into specified path. Path is specifield by field name temaplate.
void Aspose::Pdf::Facades::PdfFileEditor::SplitToPages(const System::SharedPtr<System::IO::Stream> &inputStream, const System::String &fileNameTemplate)
| Parameter | Type | Description |
|---|---|---|
| inputStream | const System::SharedPtr<System::IO::Stream>& | Stream of the soruce document. |
| fileNameTemplate | const System::String& | Template of resultant file name. Must contain NUM% which is replaced with page number. For example, if c:/dir/pageNUM%.pdf is specified, resultant files will have the following names: c:/dir/page1.pdf, c:/dir/page2.pdf etc. |
See Also
- Typedef SharedPtr
- Class Stream
- Class String
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileEditor::SplitToPages(const System::String&) method
Splits the PDF file into single-page documents.
System::ArrayPtr<System::SharedPtr<System::IO::MemoryStream>> Aspose::Pdf::Facades::PdfFileEditor::SplitToPages(const System::String &inputFile)
| Parameter | Type | Description |
|---|---|---|
| inputFile | const System::String& | Input PDF file name. |
ReturnValue
Output PDF streams, each stream buffers a single-page PDF document.
See Also
- Typedef ArrayPtr
- Typedef SharedPtr
- Class MemoryStream
- Class String
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileEditor::SplitToPages(const System::String&, const System::String&) method
Split the Pdf file into single-page documents and saves it into specified path. Path is specifield by field name temaplate.
void Aspose::Pdf::Facades::PdfFileEditor::SplitToPages(const System::String &inputFile, const System::String &fileNameTemplate)
| Parameter | Type | Description |
|---|---|---|
| inputFile | const System::String& | Input file name. |
| fileNameTemplate | const System::String& | Template of resultant file name. Must contain NUM% which is replaced with page number. For example, if c:/dir/pageNUM%.pdf is specified, resultant files will have the following names: c:/dir/page1.pdf, c:/dir/page2.pdf etc. |
See Also
- Class String
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++