<< Click to Display Table of Contents >> Navigation: Programming > Printing and PDF Export > Add PDF Export > Export using dialog |
You can use the provided PDF creation dialog to create a full featured PDF file with wPDF.
To display it only these lines are required:
uses WPToPDFDlg;
var pdfcreate: TWPCreatePDF;
begin
pdfcreate := TWPCreatePDF.Create(Self);
pdfcreate.EditBox := WPRichText1;
try
pdfcreate.ShowModal;
finally
pdfcreate.Free;
end;
end;