Codejock Forums Homepage
Forum Home Forum Home > General > XAML Snippets
  New Posts New Posts RSS Feed - JPG in XAML
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

JPG in XAML

 Post Reply Post Reply
Author
Message Reverse Sort Order
BerntK View Drop Down
Groupie
Groupie
Avatar

Joined: 15 September 2008
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote BerntK Quote  Post ReplyReply Direct Link To This Post Topic: JPG in XAML
    Posted: 20 November 2008 at 3:47am
OK now!

You have to include the full path; JPG and GIF do not default to the directory of the xaml file...

Good thing:
As you use OleLoadPicturePath to load the picture you can also display an URL instead a file like:

<Image  Source="file://http://www.xyz.com/images/logo.gif" />


Bernt
Back to Top
BerntK View Drop Down
Groupie
Groupie
Avatar

Joined: 15 September 2008
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote BerntK Quote  Post ReplyReply Direct Link To This Post Posted: 20 November 2008 at 2:45am
Hi Oleg,

I just replaced Source="file://Blue Lace 16.bmp" with Source="file://sample.jpg" in the sample markup file Image.xaml for viewing by MarkupPad.exe.

Am I doing wrong?

Bernt
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 20 November 2008 at 2:02am
Hello,
 
What you try ? just load jpg instead of bmp.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
BerntK View Drop Down
Groupie
Groupie
Avatar

Joined: 15 September 2008
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote BerntK Quote  Post ReplyReply Direct Link To This Post Posted: 19 November 2008 at 3:50pm
Sorry, I can't  find the implementation in 12.1.0!

How to display JPGs this XAML?

Bernt
Back to Top
BerntK View Drop Down
Groupie
Groupie
Avatar

Joined: 15 September 2008
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote BerntK Quote  Post ReplyReply Direct Link To This Post Posted: 19 September 2008 at 3:12am
Hi,

Thanks - sounds great!
Any estimated release date?

Bernt
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 19 September 2008 at 2:12am
Thanks, will be implemented for 12.1 release.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
BerntK View Drop Down
Groupie
Groupie
Avatar

Joined: 15 September 2008
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote BerntK Quote  Post ReplyReply Direct Link To This Post Posted: 18 September 2008 at 5:01pm
Will JPG images be implemented in 12.1.0?
If not :-(, is it planned for later versions?

Bernt
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.