PDFSplitManagerSplitBySizeFromFileToFile Method |
Splits the specified source PDF document into files of consecutive pages that are each at most
maxFileSize bytes long, saved as 'destPDFFilePath' concatenated with the document index:
Part.pdf gives Part_1.pdf, Part_2.pdf...
Namespace: ExpertPdf.PDFSplitAssembly: epsplitpdf (in epsplitpdf.dll) Version: 10.0
Syntaxpublic string[] SplitBySizeFromFileToFile(
string srcPDFFilePath,
string destPDFFilePath,
long maxFileSize
)
Public Function SplitBySizeFromFileToFile (
srcPDFFilePath As String,
destPDFFilePath As String,
maxFileSize As Long
) As String()
Parameters
- srcPDFFilePath String
- The full path of source PDF file
- destPDFFilePath String
- The full path of destination PDF file, to which the index is added
- maxFileSize Int64
- The maximum size of each new document, in bytes.
Return Value
StringThe full paths of the saved files, in page order.
RemarksA page that is larger than the limit on its own makes a document of its own (larger than the limit).
See Also