PDFSplitManagerSplitBySizeFromFileToMemory 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[] SplitBySizeFromFileToMemory(
string srcPDFFilePath,
long maxFileSize
)
Public Function SplitBySizeFromFileToMemory (
srcPDFFilePath As String,
maxFileSize As Long
) As PDFSplitDoc()
Parameters
- srcPDFFilePath String
- The full path of source PDF file
- 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