Code Samples - Document Converter Pro

Example 17: Split an existing PDF file into single pages - ASP Copy 

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
   <%

     Dim DC : Set DC = Server.CreateObject("Neevia.docConverter")

     Dim RVal : RVal=DC.splitPDF("c:\users\public\test.pdf","c:\users\public\out\")

     Set DC = Nothing

     If RVal=0 Then
       Response.Write "Done !!!"
     Else
       Response.Write "There was an error splitting the document !!!"
     End If
   
   %>