Convert PDF files With Pascal and Total PDF ConverterX

Please, download and install Total PDF ConverterX. Using the sample code below you will be able to convert PDF to TIFF, DOC, TXT, etc.

 

  Example Pascal:

uses Dialogs, Vcl.OleAuto;

var
  c: OleVariant;
begin
  c:=CreateOleObject('PDFConverter.PDFConverterX');
  C.Convert('c:\test\source.pdf', 'c:\test\dest.tiff', '-c TIFF -log c:\test\PDF.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