Click or drag to resize

PDFSplitManagerSplitBySizeFromMemoryToMemory Method

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

Namespace: ExpertPdf.Anywhere.PDFSplit
Assembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntax
public PDFSplitDoc[] SplitBySizeFromMemoryToMemory(
	byte[] srcPdfBytes,
	long maxFileSize
)

Parameters

srcPdfBytes  Byte
The source PDF document as an array of bytes
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