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.

Related topics