Thank you so much TactiSoft for your reply!
Beiträge von TactiSoft
-
-
The solution is to add this line
wPDF.dllname:= path_to_my_wPDF300W.dll;
(* then you can print *)
wPDF.print;It can take a long time when nobody helps...
-
I use Delphi 2010 Enterprise
Last Wptools 6 standard and last WPDFThere is a bug with TWPPDFExport: when calling print method no file is produced...
Try the sample program WPTOOLS->DEMOS->TASK->PDFConvert->Convert
procedure TDocConverter.Button2Click(Sender: TObject);
var wp : TWPCustomRtfEdit;
pdf : TWPPDFExport;
begin
wp := TWPCustomRtfEdit.CreateDynamic;
pdf := TWPPDFExport.Create(nil);
try
pdf.Source := wp;
pdf.AutoLaunch := TRUE;
pdf.Filename := OutputFile.Text;
wp.LoadFromFile(InputFile.Text, true);
wp.ReformatAll(true);
pdf.Print;
finally
pdf.Free;
wp.Free;
end;
end; -
Hello Julien,
I use Delphi 2010 Enterprise and the last version of WPTools 6.
When i use the code fragment :
procedure TdmWPTOOL.WPLanguageControl1Loaded(Sender: TObject);
begin
WPLangInterface := TWPLocalizationInterface.Create(WPLanguageControl1);
--->WPLocalizeAllStrings;
end;the WPLocalizeAllStrings entry can't be found in any units (WPUTIL.PAS).
Did i miss something?