Click or drag to resize

PDFSplitManagerSplitBySizeFromFileToMemory Method

Splits the specified source PDF document into documents of consecutive pages that are each at most maxFileSize bytes long.

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

Parameters

srcPDFFilePath  String
The full path of source PDF file
maxFileSize  Int64
The maximum size of each new document, in bytes.

Return Value

PDFSplitDoc
The new documents, in page order.
Remarks
Each document takes as many pages as fit in the limit, with the output security, document information and evaluation notice included in the size. A page that is larger than the limit on its own makes a document of its own (larger than the limit).
See Also