Yet another blog about WPF, Surface, SL, MVVM, NUI.... - Tag - bitmapIn this blog we talk about WPF, Natural User Interface(NUI), Microsoft Surface, WIndows 7, Multitouch, Touchless, JavaFX, MVVM, patterns, tips, tricks .... and a lot of other things !2024-02-26T15:40:43+01:00Jonathan ANTOINEurn:md5:627146f22bec1346990949372a159bfaDotclearXAML to PNG converter...urn:md5:63dab5dc40047aff1698fbf58532beff2009-06-25T14:48:00+02:002010-02-18T20:42:02+01:00JonathanANTOINE@falsemail.comWPFbitmapScreenShotWPF <p>Hello,
Today a post about creating a PNG from a XAML file. Easy some will says but we will see some more tips :
How to create a screenshot from a control in the size you want (not the actual size).
How to load an external XAML file and display it inside your application.
How to load an external XAML
This snippet will use a XAMLReader, and... <a href="http://blog.lexique-du-net.com/index.php?post/2009/06/25/XAML-to-PNG-converter..."><em>Read</em> XAML to PNG converter...</a></p>http://blog.lexique-du-net.com/index.php?post/2009/06/25/XAML-to-PNG-converter...#comment-formhttp://feeds.feedburner.com/JonathanAntoine/comments/22Write text inside an image: add a poster to add it in your Mogre Sceneurn:md5:7ca0d164624324cf0f0cd586d9cd00a82009-05-28T15:34:00+02:002010-02-18T20:42:19+01:00JonathanANTOINE@falsemail.com3D (Mogre)bitmaphow-toimagetext sizeTextureWPFwrite text on bitmap <p>Introduction
To display informations into your scene you can use a billboard represented by the MovableText into (M)ogre but sometimes you just want to put some static text somewhere because it's more readable.
For example :
The code
Here is the code which use a lot of my last article .
The steps are :
Create a bitmap with the text... <a href="http://blog.lexique-du-net.com/index.php?post/2009/05/28/Create-a-poster-to-add-it-in-your-Mogre-Scene"><em>Read</em> Write text inside an image: add a poster to add it in your Mogre Scene</a></p>http://blog.lexique-du-net.com/index.php?post/2009/05/28/Create-a-poster-to-add-it-in-your-Mogre-Scene#comment-formhttp://feeds.feedburner.com/JonathanAntoine/comments/21