Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Uri uri = new Uri ("/Fonts;component/Test.TTF", UriKind.RelativeOrAbsolute);
- StreamResourceInfo info = Application.GetResourceStream(uri);
- FontSource fs = new FontSource(info.Stream);
- PageTitle.FontFamily = new FontFamily("Agency FB");
- PageTitle.FontSource = new FontSource (info.Stream);
- PageTitle.FontSize = 72;
Add Comment
Please, Sign In to add comment