How to anti-alias the fonts in visual studio in windows forms application?

Posted by user1781077 on Stack Overflow See other posts from Stack Overflow or by user1781077
Published on 2012-10-28T16:27:41Z Indexed on 2012/10/28 17:00 UTC
Read the original article Hit count: 152

Filed under:

i want my font to be anti aliased like this so that it looks more professionalenter link description heredoes any one know the code to anti alias the fonts so that the project looks more professional.tell me the code and where to insert it in the project.As of now the fonts looks jaggy the programming language is visual C# 4.0 .net and IDE is VS 2010

for example this is a label1 what do I need to insert to anti alias

this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.Location = new System.Drawing.Point(189, 187);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(31, 13);
this.label1.TabIndex = 0;
this.label1.Text = "from";

© Stack Overflow or respective owner

Related posts about visual-studio-2010