Click here to Skip to main content
15,887,683 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to set 3 tier Architecture in physically.(harware) [modified] Pin
Member 232129313-Sep-09 16:48
Member 232129313-Sep-09 16:48 
QuestionGet a list of System Font Sizes Pin
hardsoft9-Sep-09 11:44
hardsoft9-Sep-09 11:44 
AnswerRe: Get a list of System Font Sizes Pin
Henry Minute9-Sep-09 12:50
Henry Minute9-Sep-09 12:50 
GeneralRe: Get a list of System Font Sizes Pin
Christian Graus9-Sep-09 12:57
protectorChristian Graus9-Sep-09 12:57 
GeneralRe: Get a list of System Font Sizes Pin
Henry Minute9-Sep-09 22:36
Henry Minute9-Sep-09 22:36 
AnswerRe: Get a list of System Font Sizes Pin
OriginalGriff9-Sep-09 21:40
mveOriginalGriff9-Sep-09 21:40 
GeneralRe: Get a list of System Font Sizes Pin
hardsoft10-Sep-09 0:51
hardsoft10-Sep-09 0:51 
GeneralRe: Get a list of System Font Sizes Pin
xirisjohn30-May-11 6:17
xirisjohn30-May-11 6:17 
What that would appear true in theory, not all fonts can be rendered at all point sizes. For example, consider a Label "label1" with initial font "Microsoft Sans Serif" at point size 8.25.

Font f = new Font(label1.Font.FontFamily, label1.Font.SizeInPoints + 0.5f);
label1.Font = f;
label1.Text = label1.Font.SizeInPoints.ToString();


Execute that code a few times (at least on my WinXP machine) via a button click or whatever, and the font's appearance at 9.25 and 9.75 are identical, as are 10.75 and 11.25, etc.

Also, there is obviously some mapping going on, setting the font size to 8.0 results in 8.25, 10.0 to 9.75, etc.

Is there any way of knowing, short of trial and error, if changing the point size by some amount will actually have impact on what is rendered?
AnswerRe: Get a list of System Font Sizes Pin
carlecomm22-Sep-09 16:06
carlecomm22-Sep-09 16:06 
QuestionPrint with two printers ? Pin
Mohammad Dayyan9-Sep-09 11:36
Mohammad Dayyan9-Sep-09 11:36 
AnswerRe: Print with two printers ? Pin
Christian Graus9-Sep-09 11:40
protectorChristian Graus9-Sep-09 11:40 
AnswerRe: Print with two printers ? Pin
Zoki Manas9-Sep-09 21:00
Zoki Manas9-Sep-09 21:00 
QuestionMultithread UDP listener in C# Pin
Christian_V_V9-Sep-09 11:35
Christian_V_V9-Sep-09 11:35 
AnswerRe: Multithread UDP listener in C# Pin
carlecomm22-Sep-09 15:51
carlecomm22-Sep-09 15:51 
AnswerRe: Multithread UDP listener in C# Pin
Prajakta Bhagwat7-Dec-11 19:23
Prajakta Bhagwat7-Dec-11 19:23 
QuestionWebBrowser ? Pin
Mohammad Dayyan9-Sep-09 9:34
Mohammad Dayyan9-Sep-09 9:34 
AnswerRe: WebBrowser ? Pin
Christian Graus9-Sep-09 9:38
protectorChristian Graus9-Sep-09 9:38 
GeneralRe: WebBrowser ? Pin
Mohammad Dayyan9-Sep-09 9:40
Mohammad Dayyan9-Sep-09 9:40 
GeneralRe: WebBrowser ? Pin
OriginalGriff9-Sep-09 9:48
mveOriginalGriff9-Sep-09 9:48 
GeneralRe: WebBrowser ? Pin
Mohammad Dayyan9-Sep-09 10:11
Mohammad Dayyan9-Sep-09 10:11 
AnswerRe: WebBrowser ? Pin
carlecomm22-Sep-09 16:14
carlecomm22-Sep-09 16:14 
QuestionTry-Catch problem in C# console app Pin
Member 46458019-Sep-09 9:05
Member 46458019-Sep-09 9:05 
AnswerRe: Try-Catch problem in C# console app Pin
Christian Graus9-Sep-09 9:15
protectorChristian Graus9-Sep-09 9:15 
AnswerRe: Try-Catch problem in C# console app Pin
harold aptroot9-Sep-09 9:19
harold aptroot9-Sep-09 9:19 
GeneralRe: Try-Catch problem in C# console app Pin
Member 46458019-Sep-09 9:27
Member 46458019-Sep-09 9:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.