Re: Using local font file (.ttf) in asp.net GDI+ app.
- From: JT <jt@xxxxxxxxxxx>
- Date: Sun, 21 Oct 2007 17:30:15 -0700
On Oct 20, 7:59 am, Göran Andersson <gu...@xxxxxxxxx> wrote:
deeh...@xxxxxxxxx wrote:
Hi,
I am trying to use a special font in an GDI+ application. The font
file is located in my root folder.
The following code does not work but might explain what I am trying to
do...
Font f = new Font(Server.MapPath("somefont.ttf"), 200);
Thank you for your time.
Regards,
Hensson
Have a look at the PrivateFontCollection class.
--
Göran Andersson
_____http://www.guffa.com- Hide quoted text -
- Show quoted text -
Any chance you can access this font if it resides in your resources?
JT
.
- References:
- Using local font file (.ttf) in asp.net GDI+ app.
- From: deehen0
- Re: Using local font file (.ttf) in asp.net GDI+ app.
- From: Göran Andersson
- Using local font file (.ttf) in asp.net GDI+ app.
- Prev by Date: Re: Using a Web Service for Business Logic BackEnd / Data Layer
- Next by Date: Question: Referencing Formview label when no data is present
- Previous by thread: Re: Using local font file (.ttf) in asp.net GDI+ app.
- Next by thread: Re: Master page - cannot add controls
- Index(es):
Relevant Pages
|