display Bitmap bitmap()
{
Bitmap bitmap;
Bindata binData = new BinData(); if (binData.loadFile('c:\\1.bmp'))
{
bitmap = binData.getData();
}
return bitmap;
}--- In [EMAIL PROTECTED], "Steeve Gilbert" <[EMAIL PROTECTED]> wrote:
Still I get stuck with a path for the image. I've found asolution that let me get rid of the path. The image is a logo global to the company but it's not the main logo. So I add the image as a document attached to a record in CompanyInfo table. From that, I just need to access the DocuRef and DocuValue table to get the image and everything is fine!
be
Thanks anyway!
Steeve...
-----Message d'origine-----
De : henriktonnesen [mailto:[EMAIL PROTECTED] Envoyé : 17 septembre, 2003 13:56
À : [EMAIL PROTECTED]
Objet : [development-axapta] Re: Display image resource
You could add the bitmap control by code, some bc = reportsection.addbitmapcontrol(); bc.ImageName(heregoesyourvariablepathtothebitmap);
It might be possible to use a display method but i dont remember how - i'll check it tomorrow and let you know!
Henrik Tonnesen
--- In [EMAIL PROTECTED], "Steeve Gilbert" <[EMAIL PROTECTED]> wrote:
> Hi everyone!
> > I've never thought that displaying an image in a report would
sopossible.
> tough. I simply want to display an image in my report. Here's the step
> I've done so far:
> > I've added a bitmap control. I can't use the property ImageName because
> that requires a static path to the file and that's not
Sothe
> I've created a new Resource (Resource in the AOT) and imported
> bitmap into that resource. The problem is that I can't find away
tofind
> load this resource into my report. I've check for the property
> ImageResource but that requires a resource number and I can't
theunder
> number for my newly created resource (and any other resource
> Resources for that matter). If you have anything on this or anyway toto
> load an image in a report without being bugged with static path
ahttp://docs.yahoo.com/info/terms/
> file, let me know.
> > Bye!
> > Steeve...
Your use of Yahoo! Groups is subject to
Yahoo! Groups Sponsor ADVERTISEMENT
click here
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

