Using Indices : Glyphs « Windows Presentation Foundation « VB.Net






Using Indices

      

<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"
        Indices="4,6;286,600;37,600;367,600;380,60;853,60;3,60;449,60;381,60;400,60;330,60;282,60;842,60"
        UnicodeString="Hello, world!"
        Fill="Black"
        OriginY="30" />
        
  </StackPanel>
</Window>

   
    
    
    
    
    
  








Related examples in the same category