Aspose::Pdf::Facades::PdfFileEditor::SplitToPages method
Contents
[
Hide
]PdfFileEditor::SplitToPages(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(System::SharedPtr<System::IO::Stream> inputStream)
Parameter | Type | Description |
---|---|---|
inputStream | 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(System::SharedPtr<System::IO::Stream>, 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(System::SharedPtr<System::IO::Stream> inputStream, System::String fileNameTemplate)
Parameter | Type | Description |
---|---|---|
inputStream | System::SharedPtr<System::IO::Stream> | Stream of the soruce document. |
fileNameTemplate | 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(System::String) method
Splits the PDF file into single-page documents.
System::ArrayPtr<System::SharedPtr<System::IO::MemoryStream>> Aspose::Pdf::Facades::PdfFileEditor::SplitToPages(System::String inputFile)
Parameter | Type | Description |
---|---|---|
inputFile | 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(System::String, 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(System::String inputFile, System::String fileNameTemplate)
Parameter | Type | Description |
---|---|---|
inputFile | System::String | Input file name. |
fileNameTemplate | 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++