Last post Feb 13, 2017 09:17 PM by PatriceSc
Feb 13, 2017 02:02 PM|whisky|LINK
How can I find the full path in windows of a font such as arial.ttf?
I need it to by dynamic in case for some reason the file isn't in its default location.
Feb 13, 2017 07:59 PM|Mikesdotnetting|LINK
You want to do this in a web application? What for?
Feb 13, 2017 09:17 PM|PatriceSc|LINK
You could try the windir environment variable and append Fonts first. Else do you mean that you would like to scan the whole disk to find this file ???
As pointed already keep in mind that your C# code runs on the web server, NOT on the client machine. Explain what you want to do to make sure it makes sense.