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

RichText (InfoPower) -> Stretch doesn't work with Picture

edited January 2004 in General
Hi,

i have Delphi 5, RB 6.03, InfoPower 3000.

My problem is, that my TppDBRichText does not stretch when i want to print a
picture.

It prints the picture from the top till the height of the component. Stretch
:= True is set! but it doesnt work!
And yes, the detailband is set to phDynamic.

When i set the height of the RichText to a bigger value, then more of this
picture will be printed... maybe it's possible to calculate the needed
height of this picture manually?

Any suggestions?

Regards S. Wicki

Comments

  • edited January 2004
    Hello,

    ReportBuilder can not calculate the height of an image in the RichText
    component, it is only capable of finding the height of text. You will need
    to somehow find the height of the image before hand and set the TppRichText
    component to that height manually.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2004
    How can i convert ScreenPixels to a RB unit e.g. mm?

  • edited January 2004
    Hi,

    Check out the utility functions available in the ppUtils.pas file. There is
    a global method named ppToMMThousandths that will convert any measurement
    type to microns.

    --
    Best Regards,

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