Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
My current windows form in autocad .net addin looks bit pixelated specially fonts.
so I am using System.Windows.Forms.Application.EnableVisualStyles() in Initialization class
public void Initialize()
{
System.Windows.Forms.Application.EnableVisualStyles();
System.Windows.Forms.Application.SetCompatibleTextRenderingDefault(false);
Autodesk.AutoCAD.ApplicationServices.Core.Application.Idle += LoadRibbonMenuOnIdle;
}
New Updated Look, both looks same but pay special attention to fonts.
I just want to know if i am using this correctly? Is there any other way to do this? Can i place EnableVisualization Code to other location?
Solved! Go to Solution.