PrintPageOnCanvas & co

    • Offizieller Beitrag
    Zitat

    A number of different methods are provided that allow displaying/printing of a document, including:

    <TWPRichText>.Memo.PaintRTFPage
    <TWPRichText>.PrintPageOnCanvas

    and I know there are other methods you provide to print/preview. What are the advantages of one over the other, what are some of the other procedures that allow print/preview, and when and why would you use of the various procedures?

    Oh, and let me say one thing. VERSION 5 IS AWESOME!!!!!
    - diamond


    Thanks for the compliment - I couldn't resist to include it here :-)
    In gereneral there is only Memo.PaintRTFPage - this is the procedure which does the job.

    The PrintPageOnCanvas procedure which is implemented in unit WPRichCTR is provided to improve the compatibility to version 4. I would not recommend to use it otherwise.

    I recommend to use