Click or drag to resize

PDFSplitManagerSplitByBookmarksFromMemoryToMemory Method

Splits the specified source PDF document at its top level bookmarks: one new document for each chapter, from the page of its bookmark to the page before the next chapter.

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

Parameters

srcPdfBytes  Byte
The source PDF document as an array of bytes

Return Value

PDFSplitDoc
The new documents, in page order. Title is the bookmark title of each chapter. The pages before the first chapter make a first document with a null title; a document without bookmarks gives one document with all its pages.
Remarks
The chapters keep the bookmarks of their pages. When PdfDocumentInfo has no title, the bookmark title is also the document title of each chapter.
See Also