A .NET Technology blog | .NET,C# Progamming,C# tutorials,WPF WCF|Software Engineer


What Is SetCompatibleTextRenderingDefault (false)

By default, UseCompatibleTextRendering property takes the value false. But In a Windows Forms application which uses the Graphics class to render text and having certain controls that use TextRenderer class to render text to appear different from the other text in the application, then to overcome this incompatibility issue we can set the UseCompatibleTextRendering property to true. Otherwise you don’t need to change the method call at all. [More]