Using XE7 with wPDF 4 Standard.
I am creating PDF files from WPRichText RTF documents.
To do it, I use the following code
Code
pdf := TWPPDFExport.Create(Application);
pdf.DLLName := sPath + '\WPDF400W.DLL';
pdf.FontMode := wpEmbedType3;
pdf.Source := WPRichText1;
pdf.FileName := sFlePDF;
pdf.Print;
I see that the length of the generated PDF differs from what is in the WPRichText, if WPRichText is 1 page long, the PDF file needs 2 pages, and the last few lines goes to the second page.
Is there any way to map exactly the WPRichText RTF document length to the PDF file.