Print Page | Close Window

Using images in markup broken in v.16.2.0

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: MarkupLabel Control
Forum Description: Topics Related to Codejock MarkupLabel Control
URL: http://forum.codejock.com/forum_posts.asp?TID=21712
Printed Date: 28 March 2024 at 9:12am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Using images in markup broken in v.16.2.0
Posted By: Fredrik
Subject: Using images in markup broken in v.16.2.0
Date 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



Replies:
Posted By: ilya
Date Posted: 18 June 2013 at 1:53pm
The issue is fixed and will be available as a part of the next official codejock update.


Posted By: JamesH
Date 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.
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net