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

Absolute print position of TppImage

edited May 2007 in General
Hello,

how to determine the absolute print position of an TppImage on the page with
RAP?
At this point I'm using the OnDrawCommandCreate-Event to get the values,
but it seems that these values are relative to the Band the image lays in.
Is there
any possibility to get the information I need?

Best regards,
Steve Richmann

Comments

  • edited May 2007
    Hi Steve,

    If you check the position of the actual drawcommand (aDrawCommand) object,
    you will receive the page position in microns. You can then use the
    ppFromMMThousandths utility routine to convert these numbers into any report
    unit you would like. Take a look inside the ppUtils.pas file for the
    signature of this routine.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.