RichText (InfoPower) -> Stretch doesn't work with Picture
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
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
This discussion has been closed.
Comments
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.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
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.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com