Glyphs with ttf font file : Glyphs « Windows Presentation Foundation « C# / C Sharp






Glyphs with ttf font file

Glyphs with ttf font file
     


<Window x:Class="WpfApplication1.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Glyphs and Fonts" Height="300" Width="350"
    >
  <StackPanel>
    <Glyphs FontUri="C:\Windows\Fonts\Calibri.ttf" FontRenderingEmSize="40"
        UnicodeString="Hello, world" Fill="Black" OriginY="30" />
  </StackPanel>
</Window>

   
    
    
    
    
  








Related examples in the same category