PDFSplitManagerSplitBySizeFromMemoryToMemory Method |
Splits the specified source PDF document into documents of consecutive pages that are each at most
maxFileSize bytes long.
Namespace: ExpertPdf.Anywhere.PDFSplitAssembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntaxpublic PDFSplitDoc[] SplitBySizeFromMemoryToMemory(
byte[] srcPdfBytes,
long maxFileSize
)
Public Function SplitBySizeFromMemoryToMemory (
srcPdfBytes As Byte(),
maxFileSize As Long
) As PDFSplitDoc()
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
PDFSplitDocThe new documents, in page order.
RemarksEach 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