Click or drag to resize

PDFSplitManagerSplitBySizeFromFileToFile Method

Splits the specified source PDF document into files of consecutive pages that are each at most maxFileSize bytes long, saved as 'destPDFFilePath' concatenated with the document index: Part.pdf gives Part_1.pdf, Part_2.pdf...

Namespace: ExpertPdf.PDFSplit
Assembly: epsplitpdf (in epsplitpdf.dll) Version: 10.0
Syntax
public string[] SplitBySizeFromFileToFile(
	string srcPDFFilePath,
	string destPDFFilePath,
	long maxFileSize
)

Parameters

srcPDFFilePath  String
The full path of source PDF file
destPDFFilePath  String
The full path of destination PDF file, to which the index is added
maxFileSize  Int64
The maximum size of each new document, in bytes.

Return Value

String
The full paths of the saved files, in page order.
Remarks
A page that is larger than the limit on its own makes a document of its own (larger than the limit).
See Also