Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Dynamic Image from InputStream / Image(Icon)
Dynamic Image from InputStream / Image(Icon) [message #148915] Tue, 28 March 2006 13:32 Go to next message
Eclipse UserFriend
Originally posted by: calmacroi.myrddin.ch

Hi
I'm trying to show a dynamic image from a stream. does anyone already
has experience with it?. I tried to set as a scriptable datasource the
ImageIcon object and bind it from the report as scriptable datasource
--> the image does not show up!!!

thanks for any help..
regs
patrick
Re: Dynamic Image from InputStream / Image(Icon) [message #148993 is a reply to message #148915] Tue, 28 March 2006 14:52 Go to previous messageGo to next message
Scott Rosenbaum is currently offline Scott RosenbaumFriend
Messages: 425
Registered: July 2009
Senior Member
Where did you add the script to get the image?

Scott Rosenbaum
BIRT PMC

Patrick Kistler wrote:
> Hi
> I'm trying to show a dynamic image from a stream. does anyone already
> has experience with it?. I tried to set as a scriptable datasource the
> ImageIcon object and bind it from the report as scriptable datasource
> --> the image does not show up!!!
>
> thanks for any help..
> regs
> patrick
Re: Dynamic Image from InputStream / Image(Icon) [message #149181 is a reply to message #148993] Wed, 29 March 2006 07:57 Go to previous message
Eclipse UserFriend
Originally posted by: calmacroi.myrddin.ch

in my code which call the run and render task

--- snipp ----------------------
IRunAndRenderTask task = engine.createRunAndRenderTask(design);
task.addScriptableObject("variantImage", myImageIcon);
--- snipp ----------------------

and also in my rptdesign-file:

Expression for dynamic images:
--> myImage = variantImage



patrick





Scott Rosenbaum schrieb:
> Where did you add the script to get the image?
>
> Scott Rosenbaum
> BIRT PMC
>
> Patrick Kistler wrote:
>
>> Hi
>> I'm trying to show a dynamic image from a stream. does anyone already
>> has experience with it?. I tried to set as a scriptable datasource the
>> ImageIcon object and bind it from the report as scriptable datasource
>> --> the image does not show up!!!
>>
>> thanks for any help..
>> regs
>> patrick
Previous Topic:How to resize the Chart
Next Topic:Footer page
Goto Forum:
  


Current Time: Sat Jul 27 18:31:14 GMT 2024

Powered by FUDForum. Page generated in 0.03148 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top