Mega Code Archive

 
Categories / VB.Net Tutorial / WPF
 

Using an image resource

<Window x: Class="WpfApplication1.Window1"     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     Title="Using an image resource" Height="300" Width="300"     >   <Canvas>     <Image Source="c:\image.jpg" />   </Canvas> </Window>