PDFSplitManagerSplitByBookmarksFromMemoryToFolder Method |
Splits the specified source PDF document at its top level bookmarks and saves one PDF file for each chapter
in the destination folder, named from the bookmark title.
Namespace: ExpertPdf.Anywhere.PDFSplitAssembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntaxpublic string[] SplitByBookmarksFromMemoryToFolder(
byte[] srcPdfBytes,
string destFolder
)
Public Function SplitByBookmarksFromMemoryToFolder (
srcPdfBytes As Byte(),
destFolder As String
) As String()
Parameters
- srcPdfBytes Byte
- The source PDF document as an array of bytes
- destFolder String
- The folder where to save the new documents. It is created when it does not exist.
Return Value
StringThe full paths of the saved files, in page order.
RemarksThe file names are the bookmark titles with the characters that are not allowed in file names
replaced by '_' (at most 100 characters); a repeated title gets a number: "Title (2).pdf". The pages before
the first chapter are saved as "Pages 1-N.pdf". Existing files with the same names are replaced.
See Also