PdfSplitSplitByPageCountToFiles Method

Splits the document into consecutive parts with a given number of pages, saved to files. The last part holds the remaining pages

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 15.0.0
C#
public List<string> SplitByPageCountToFiles(
	int pagesPerDocument,
	string filePathFormat
)

Parameters

pagesPerDocument  Int32
The number of pages of each part
filePathFormat  String
The path of the files, with a {0} placeholder for the 1-based number of the part, for example "C:\Output\Part{0}.pdf"

Return Value

ListString
The paths of the saved files, in page order

See Also