How To…Add a Drawcommand to a Page

Question

“How do I add items to an archived page before viewing or printing with the Archive Reader?”

Solution

Create a generic TppRasterDevice and implement its OnPageReceive event to add a drawcommand to the page before the report is rendered.

Download: ArchiveReaderAddDrawCommand.zip

Sample Delphi code: