473,406 Members | 2,633 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Font.Parse

I think a Font.Parse would come in handy right about now. There is a
ToString() meathod but is there some kind of parsing for that, or would I have
to do it manually :(.
Is there something else I can use to turn a Font into a string then back again?
thanks
Nov 16 '05 #1
2 1999
Scatropolis wrote:
I think a Font.Parse would come in handy right about now. There is a
ToString() meathod but is there some kind of parsing for that, or
would I have to do it manually :(.
Is there something else I can use to turn a Font into a string then
back again? thanks


What do you mean "turn a Font into a string? " The actual name of the
Font into a string maybe?
Nov 16 '05 #2
sorry...

this.Font.ToString() will return something like "[Font: Name=Courier New,
Size=8.25, Units=3, GdiCharSet=0, GdiVerticalFont=False]"
I want to find a way to convert that string back into a font.
It's going to be for saving preferences.

On 16/04/2004 "Frank Oquendo" <fo******@cadvisions.com> wrote:
Scatropolis wrote:
I think a Font.Parse would come in handy right about now. There is a
ToString() meathod but is there some kind of parsing for that, or
would I have to do it manually :(.
Is there something else I can use to turn a Font into a string then
back again? thanks


What do you mean "turn a Font into a string? " The actual name of the
Font into a string maybe?

Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: RooLoo | last post by:
Hey all! Using VB.Net... How can I save the font properties of a textbox to an ASCII file and later read the file and apply the properties back to the textbox? Users use multiple workstations,...
55
by: Haines Brown | last post by:
I've been setting font-size 1em; as the default in my style sheets. Until now, that seemed to be ok. But now I'm beginning to wonder. My aim is to have an easily readable, but not overly large...
39
by: David Jubinville | last post by:
Hi All, I've run into a bit of an interesting problem with CSS and font DPI and would certainly welcome help. Problem: Page layout defined in CSS has font size issues (overlapping frames,...
9
by: Dr John Stockton | last post by:
Assuming default set-ups and considering all reasonable browsers, whatever that may mean, what should an author expect that his readers in general will see (with visual browsers) for a page with...
4
by: tshad | last post by:
I am having trouble with links in my DataGrid. I have Links all over my page set to smaller and they are consistant all over the page in both Mozilla and IE, except for the DataGrid. Here is a...
2
by: ad | last post by:
I use a dataGrid to list the scores of students. If the score is less than 60, I want the score display with font of red. The other will display with blue font. How can I do that?
2
by: KV | last post by:
Hi, I'm new to VB.NET and I'm trying to do something rather simple that has turned out to be a pain in the hindside. I'm developing a webpart. All I want to do is change the font of a label on...
7
by: Will Hartung | last post by:
I have a simple rule: ..main p { font-size: small; color: red;} But if I put a paragraph in a TABLE, it basically comes out black and a different size. I found if I did: ..main table {...
2
by: Steve Holden | last post by:
Fredrik Lundh wrote: Thanks so much, Fredrik. The reason I asked is because I found the specification completely opaque ... regards Steve -- Steve Holden +1 571 484 6266 +1 800 494...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.