BCL easyPDF SDK
easyPDF SDK Usermanual
PDF Creator Programming API  |  Download Free Trial  |  Contact Us to Purchase

Split Method

Split one PDF file into two.

void Split(string InputFileName,
           string OutputFileName1,
           string OutputFileName2,
           int PageNumber)

Sub Split(InputFileName As String, _
          OutputFileName1 As String, _
          OutputFileName2 As String, _
          PageNumber As Integer)

def Split(self, InputFileName, OutputFileName1, OutputFileName2, PageNumber)




void Split(String InputFileName,
           String OutputFileName1,
           String OutputFileName2,
           int PageNumber) throws PDFProcessorException

function Split($InputFileName, $OutputFileName1, $OutputFileName2, $PageNumber) 




BclPrcResult Split(const BclPDFProcessorSettings* pSettings,
                   const wchar_t* InputFileName,
                   const wchar_t* OutputFileName1,
                   const wchar_t* OutputFileName2,
                   int PageNumber);
Sub Split(InputFileName As String, _
          OutputFileName1 As String, _
          OutputFileName2 As String, _
          PageNumber As Long)

Parameters

Return Values

N/A.

Remarks

The page number uses zero-based index, meaning that page number starts from 0.

Example Usage

Set oProcessor = CreateObject("easyPDF.PDFProcessor.8")
' Split at page 5 (output1.pdf will have page 1 - 4, and
' output2.pdf will have page 5 and thereafter).
oProcessor.Split "C:\test\input.pdf", C:\test\output1.pdf", "C:\test\output2.pdf", 4