Solved

ASP.NET System.Drawing.Text - what fonts can I choose from???

Posted on 2004-10-29
351 Views
Last Modified: 2013-12-03
I'm designing in Photoshop for an ASP.NET application, and when it goes live part of the text I am using will need to be generated dynamically. Can I use any TrueType font I want and just make sure it is installed on the server or appears in some sort of font collection? Or am I restricted to using certain fonts? Thanks!

Brian
0
Question by:bjrcreations
    1 Comment
     
    LVL 14

    Accepted Solution

    by:
    You can use a Private Font Collection to achieve this.

    PrivateFontCollection pfc=new PrivateFontCollection();
    pfc.AddFontFile("yourfont.ttf");
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Course: JavaScript Coding - Massive 12-Part Bundle

    Regardless of your programming skill level, you'll go from basics to advanced concepts in a vast array of JavaScript subjects including Sammy.js, Agility.js, Ember.js, Node.js, jQuery, AJAX, Extjs, AngularJS, Knockout.js, and JSON.

    Normally a window is moved by clicking on the caption bar and dragging. You may want your user to be able to move borderless forms or move a form by clicking anywhere in the form without the limitation to the caption bar. There are many ways to do i…
    Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    931 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now