Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > MarkupLabel Control
  New Posts New Posts RSS Feed - Using images in markup broken in v.16.2.0
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Using images in markup broken in v.16.2.0

 Post Reply Post Reply
Author
Message
Fredrik View Drop Down
Senior Member
Senior Member


Joined: 22 June 2005
Status: Offline
Points: 235
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fredrik Quote  Post ReplyReply Direct Link To This Post Topic: Using images in markup broken in v.16.2.0
    Posted: 17 June 2013 at 6:45pm
This no longer works using v.16.2.0:

<Page>
<TextBlock>
        <Image Source='file://<path to png or bmp file>'/>
</TextBlock>
</Page>

The image is cut. Reproducible with images where the bottom left pixel is not transparent.

Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
Back to Top
ilya View Drop Down
Groupie
Groupie


Joined: 07 May 2012
Status: Offline
Points: 37
Post Options Post Options   Thanks (1) Thanks(1)   Quote ilya Quote  Post ReplyReply Direct Link To This Post Posted: 18 June 2013 at 1:53pm
The issue is fixed and will be available as a part of the next official codejock update.
Back to Top
JamesH View Drop Down
Senior Member
Senior Member


Joined: 01 December 2004
Status: Offline
Points: 149
Post Options Post Options   Thanks (0) Thanks(0)   Quote JamesH Quote  Post ReplyReply Direct Link To This Post Posted: 21 June 2013 at 3:43pm
I was doing a search here because I was having problems displaying an image using mark-up in v15 and my problem was due to the documentation.  Maybe you could update it too.
 
The 'Markup guide' section on loading images says "Images stored in a file: Set the "Source" attribute of an Image element to the "file" keyword along with the path to the image file: "   So it explains what to do, but then the sample right below it is missing the file:// part so the sample is very misleading.
 
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.207 seconds.