Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Send TppArchiveReader output to ppViewer?

edited May 2002 in General
I need to be able to send the output of a TppArchiveReader to a TppViewer
component on my form. Is there a way to do this?

Thanks.

Comments

  • edited May 2002
    Assign the ArchiveReader's publisher to the Viewer's ScreenDevice, make a
    page request and tell the ArchiveReader to print to assigned devices. For
    example:

    ppViewer1.ScreenDevice.Publisher := ppArchiveReader1.Publisher;
    ppViewer1.ScreenDevice.PageSetting := psFirstPage;
    ppArchiveReader1.Publisher.PrintToDevices;

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

This discussion has been closed.