Logo

arrow2 File Converters

arrow2 Forensic

arrow2 TIFF and PDF apps

arrow2 Freeware

Split PDF files With PDFSplitterX and Pascal

  Please, download and install PDFSplitterX. Using the sample code below you will be able to PDF files.

 

  Example Pascal:

uses Dialogs, Vcl.OleAuto;

var
  c: OleVariant;
  Source: String;
begin
  c:=CreateOleObject('PDFSplitter.PDFSplitterX');
  Source:='c:\test\source1.pdf';
  C.Convert(Source, 'c:\DestFolder', '-cPDF -log c:\test\PDFSplitter.log');
  IF c.ErrorMessage<> Then
    ShowMessage(c.ErrorMessage);
end;
If you need examples on other languages please contact us. We will create any example specially for you.

Download

Examples of PDF Splitter X

Split PDF files With PDFCombineX and .NET

string src="C:\\test\\test1.pdf";
string dest="C:\\test\\DestFolder\\";

PDFSplitterX Cnv = new PDFSplitterX();
Cnv.Convert(src, dest, "-c PDF -log c:\\test\\Splitter.log");

MessageBox.Show("Convert complete!");

Download .NET PDF Combine example

Split PDF files With PDFSplitterX and ASP

dim C
Set C=CreateObject("PDFSplitter.PDFSplitterX")
C.Convert "c:\source1.pdf", "c:\Dest Folder\", "-fo"
set C = nothing

Split PDF files With PDFSplitterX and PHP

$src="C:\\test\\test.pdf";
$dest="C:\\DestFolder\\";
if (file_exists($dest)) unlink($dest);
$c= new COM("PDFSplitter.PDFSplitterX");
$c->convert($src,$dest, "-c PDF -log c:\doc.log");
if (file_exists($dest)) echo "OK"; else echo "fail:".$c->ErrorMessage;

Split PDF files With PDFSplitterX and Ruby

require 'win32ole'
c = WIN32OLE.new('PDFSplitter.PDFSplitterX')

src="C:\\test\\test.pdf";
dest="C:\\test\\DestFolder";

c.convert(src,dest, "-c PDF -log c:\\test\\PDFSplitter.log");

if not File.exist?(dest)
  puts c.ErrorMessage
end

Split PDF files With PDFSplitterX and Python

import win32com.client
import os.path

c = win32com.client.Dispatch("PDFSplitter.PDFSplitterX")

src="C:\\test\\test.pdf";
dest="C:\\test\\DestFolder";

c.convert(src, dest, "-c PDF -log c:\\test\\PDFSplitter.log");

if not os.path.exists(file_path):
  print(c.ErrorMessage)

Split PDF files With PDFSplitterX and Pascal

uses Dialogs, Vcl.OleAuto;

var
  c: OleVariant;
  Source: String;
begin
  c:=CreateOleObject('PDFSplitter.PDFSplitterX');
  Source:='c:\test\source1.pdf';
  C.Convert(Source, 'c:\DestFolder', '-cPDF -log c:\test\PDFSplitter.log');
  IF c.ErrorMessage<> Then
    ShowMessage(c.ErrorMessage);
end;

Split PDF files With PDFSplitterX and Perl

use Win32::OLE;

my $src="C:\\test\\test1.pdf";
my $dest="C:\\DestFolder";

my $c = CreateObject Win32::OLE 'PDFSplitter.PDFSplitterX';
$c->convert($src,$dest, "-c pdf  -log c:\\test\\PDFSplitter.log");
print $c->ErrorMessage if -e $dest;
Support
Get all CoolUtils products
for $99 only
read more

  (you save up to $500)


PDF SplitterX Preview1

Coolutils.com

Latest News

  • In the updated PDF Combine a new command line parameter is added -IgnoreInvalidSource when any file from the input list does not exist.
  • In the updated Total Doc Converter an export to XHTML format is improved.
  • The updated Total CSV Converter can convert the files with over a million lines.
  • New PDF Combine Pro can create multiple line headers and footers.
  • In the new Total PDF Converter , the conversion from xps\oxps to docx was significantly improved.
  • Online converter now supports Biological Formats spe; nd2; pds; lsm; sif; fpf; vff; nmr; zvi; dm3; isac; afm; ser; mri.

Newsletter Subscribe

No worries, we don't spam.


© 2021. All rights reserved. CoolUtils File Converters

Cards