Maximize productivity with
30% off* for a limited time
using BOOSTDEV30.
Includes 3- and 5-packs.
*Some exclusions may apply.New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.Stream fontStream =
typeof
(MainPage).GetTypeInfo().Assembly.GetManifestResourceStream("UnicodeText.Assets.arial.ttf");
fontStream is always null!!
Stream fontStream = typeof(MainPage).GetTypeInfo().Assembly.GetManifestResourceStream("UnicodeText.Assets.arial.ttf"); |
MainPage |
Name of the current Class |
UnicodeText |
It’s the project name |
Assets |
Asset folder inside the project UnicodeText |
Arial.ttf |
Arial.ttf font file inside the Assets folder |