Click here to Skip to main content
15,896,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Sir,

How can i fetch path of TTF font which is located in windows-> font folder in this way "C:\WINDOWS\Fonts\Arial.TTF" through C#
Posted
Updated 22-Sep-11 1:18am
v5
Comments
André Kraak 22-Sep-11 5:04am    
Please share any relevant code with us, seeing the code might us help understand the problem your are facing.

If you wish to change your question use the Improve Question button.

1 solution

You can find a font folder easily:

C#
string fontsfolder = System.Environment.GetFolderPath(
System.Environment.SpecialFolder.Fonts);



Cheers
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900