Print Page | Close Window

How to use this function ?

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2087
Printed Date: 24 Apr 24 at 1:24AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: How to use this function ?
Posted By: Mahdi_S_T
Subject: How to use this function ?
Date Posted: 02 Jan 12 at 3:08PM
How to use this function ?
Sample code for delphi ,please.

function TQuickPDF0813.MergeFileListFast(ListName, OutputFileName: WideString): Integer;



Replies:
Posted By: Ingo
Date Posted: 02 Jan 12 at 10:13PM
Hi Mahdi!

I've used the search functionality (at the top right side) with MergeFileListFast ...
Here a small sample from DSOLA showing you how to do it:
....

pdfEng.SetTempPath('c:\tmp\');
pdfEng.ClearFileList('myList');

if FindFirst('c:\PDF_merge_files\*.pdf', faArchive, searchResult) = 0 then
begin
repeat
pdfEng.AddToFileList('myList', 'c:\PDF_merge_files\'+searchResult.Name);
until FindNext(searchResult) <> 0;

FindClose(searchResult);

end;

pdfEng.MergeFileListFast('myList', 'c:\PDF_merge_files\RESULT.PDF');
FreeAndNil(pdfEng);

....

Cheers and welcome here,
Ingo



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk