App Download Address: HTTPS://WWW.MICROSOFT.COM/STORE/APPS/9NBLGGH5K2HF
When I recently used the text icon Segoe MDL2 assets, using the character map, it was really small, it was not clear, and it didn't support rolling browsing, and it was inconvenient to write a browser tool.
Let's take a look at the following character mapping table:
Then look at the kind of tool I wrote:
It's so big, it's not so hard to see clearly, and "Double click" allows you to add interesting graphics ~ ~ ~
One of the good things about the program is that you can develop the tools you want, without having to search the Internet, and the results are often unsatisfactory, not being rogue, or poisoned, or functionally limited.
Well, here's the production process:
1. Get all the characters in the word.
In the UWP, I don't know how to get it, but in WPF, the access to the word is simple.
WPF codes:
New FontFamily ("Segoe MDL2 Assets"); foreach inch font. Gettypefaces ()) { typeface. Trygetglyphtypeface (out glyph); if NULL The key in { // plyph is the Fudai code in the character mapping table. }}
Copy of this blog: Http://www.codeproject.com/Articles/396811/Character-Map-in-WPF
2. Designators all the words into a txt.
3. Then use WIN10 to read txt.
Because we get the code of the character, such as: 0xe001.
When setting the text, it is not possible to give "E001" directly, but to make this 0xe001 a string. (The character value is 0xe001, such as the value of A is 0x41).
Password:
unchecked { ushort assetdata = 0xe001; char temptext = (char) assetdata; string txt = temptext.tostring ();}
Note In XAML, when you write directly:
<textblock text="& #xE001; " fontfamily="Segoe MDL2 Assets" />
Is the same as in the code.
Enjoy your coding.
[END]
Segoe MDL2 Assets