Guest User

Untitled

a guest
Jul 18th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. Uri uri = new Uri ("/Fonts;component/Test.TTF", UriKind.RelativeOrAbsolute);
  2. StreamResourceInfo info = Application.GetResourceStream(uri);
  3. FontSource fs = new FontSource(info.Stream);
  4.  
  5. PageTitle.FontFamily = new FontFamily("Agency FB");
  6. PageTitle.FontSource = new FontSource (info.Stream);
  7. PageTitle.FontSize = 72;
Add Comment
Please, Sign In to add comment