Where are you getting the initial image from? Is it on a database or in a memory stream of some sort? If the image is in file, try using the LoadFromFile method. If the image already exists on a form perhaps, try using the TppImage.Picture.Assign method to assign the TppImage to the original.
I have a signature bitmap save in the windows registry, and defined a report function (registered through raRegisterFunction) to get the bitmap image from registry and save it into a Variant variable, but next step is how to assign this variable into the TppImage?
The LoadFromStream function is not natively included in RAP. You will need to create a pass-thru function to handle this case. For information on creating RAP pass-thru functions, please see the ReportBuilder Developer's guide.
Comments
Where are you getting the initial image from? Is it on a database or in a
memory stream of some sort? If the image is in file, try using the
LoadFromFile method. If the image already exists on a form perhaps, try
using the TppImage.Picture.Assign method to assign the TppImage to the
original.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I have a signature bitmap save in the windows registry, and defined a
report function (registered through raRegisterFunction) to get the bitmap
image from registry and save it into a Variant variable, but next step is
how to assign this variable into the TppImage?
Thanks
William
The LoadFromStream function is not natively included in RAP. You will need
to create a pass-thru function to handle this case. For information on
creating RAP pass-thru functions, please see the ReportBuilder Developer's
guide.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com