ASE Home Page Products Download Purchase Support About ASE
ChartDirector General
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Background/wallpaper image from database
Posted by T.Cortsen on Aug-11-2015 17:10
Hi Peter

Can i use a background image from a database, instead of a file ?

Instead of this.
Call c.setWallpaper(ImagePath)

I want to do somthing like this
Call c.setWallpaper( rs("Image") )
Or
Response.BinaryWrite rs("Image")

Or can you recommend another method ?

Regards
T.Cortsen

  Re: Background/wallpaper image from database
Posted by Peter Kwan on Aug-12-2015 00:20
Hi T. Cortsen,

Unluckily, ChartDirector cannot use an image directly from the database query result set.
The suggested method is to save the image to a temporary file in PNG, JPG or GIF format,
then use that the temporary file as the wallpaper.

Regards
Peter Kwan

  Re: Background/wallpaper image from database
Posted by T.Cortsen on Aug-17-2015 20:04
Hi Peter

Thanks!

I have solved it, by placing a transparent multichart over the image from the database.

Regards
T.Cortsen