PdfFileEditor.SplitToPages
Contents
[
Hide
]SplitToPages(string)
Splits the PDF file into single-page documents.
public MemoryStream[] SplitToPages(string inputFile)
Parameter | Type | Description |
---|---|---|
inputFile | String | Input PDF file name. |
Return Value
Output PDF streams, each stream buffers a single-page PDF document.
See Also
- class PdfFileEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF
SplitToPages(Stream)
Splits the Pdf file into single-page documents.
public MemoryStream[] SplitToPages(Stream inputStream)
Parameter | Type | Description |
---|---|---|
inputStream | Stream | Input Pdf stream. |
Return Value
Array of memory streams which contain pages of the document.
See Also
- class PdfFileEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF
SplitToPages(string, string)
Split the Pdf file into single-page documents and saves it into specified path. Path is specifield by field name temaplate.
public void SplitToPages(string inputFile, string fileNameTemplate)
Parameter | Type | Description |
---|---|---|
inputFile | String | Input file name. |
fileNameTemplate | String | Template of resultant file name. Must contain %NUM% which is replaced with page number. For example, if c:/dir/page%NUM%.pdf is specified, resultant files will have the following names: c:/dir/page1.pdf, c:/dir/page2.pdf etc. |
See Also
- class PdfFileEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF
SplitToPages(Stream, string)
Split the Pdf file into single-page documents and saves it into specified path. Path is specifield by field name temaplate.
public void SplitToPages(Stream inputStream, string fileNameTemplate)
Parameter | Type | Description |
---|---|---|
inputStream | Stream | Stream of the soruce document. |
fileNameTemplate | String | Template of resultant file name. Must contain %NUM% which is replaced with page number. For example, if c:/dir/page%NUM%.pdf is specified, resultant files will have the following names: c:/dir/page1.pdf, c:/dir/page2.pdf etc. |
See Also
- class PdfFileEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF