• Hi,

    Could you confim a couple of things about wPDF for me please:

    1. Can I use it without having WPTools?
    2. Can I export any amount (possibly many pages) of RTF text from a standard TRichEdit to a PDF, and if so will this do proper RTF to PDF text conversion? (Fast Reports does this by converting the RTF to an image, which is not acceptable for my project).

    Regards,
    Robin

    • Offizieller Beitrag

    Hi,

    >> 1. Can I use it without having WPTools?

    Yes. It is basically a metafile (EMF) to PDF converter. It provides a Canvas which is a TMetafileCanvas.

    >>2. Can I export any amount (possibly many pages) of RTF text from a standard TRichEdit to a PDF, and if so will this do proper RTF to PDF text conversion? (Fast Reports does this by converting the RTF to an image, which is not acceptable for my project). <<

    It can export what TRichEdit prints, but only that. So it is limited to the features the RichEd.DLL offers. It will create text, not an image.

    This is the sample code to export from a RichEdit:

  • OK, this looks like it will do what I need. I couldn't get the demo working for C++ Builder, but I think I now have enough to persuade my boss to buy a licence so we can try it out properly.
    Thanks for the detailed reply.
    Cheers,
    Robin.