Extra blank page appears in PDF document

  • I use the following code to export a TBitmap image to PDF file.

    The code works fine except a blank page is added to resulting document every time. How to get rid of that?
    Component versions are WPTools 6 and WPDF 2

    • Offizieller Beitrag

    WPE.Print(); exports the text in the attached TWPCustomRTFEdit.

    Apparently you do not have text in there, so you do not need a TWPCustomRTFEdit or a TWPPDFExport.

    Just use the TWPPDFPrinter, not the TWPPDFExport.