C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class : UseCompatibleTextRendering Property |
'Declaration
<C1DescriptionAttribute("Specifies whether text rendering should be compatible with previous releases of WinForms.")> <CategoryAttribute("Appearance")> Public Property UseCompatibleTextRendering As Boolean
'Usage
Dim instance As C1FlexGridBase Dim value As Boolean instance.UseCompatibleTextRendering = value value = instance.UseCompatibleTextRendering
This property determines whether the control should render text using the System.Drawing.Graphics class (compatible with previous versions), or the new System.Windows.Forms.TextRenderer class (available in .NET 2.0 and later).
The System.Windows.Forms.TextRenderer class supports complex scripts and Uniscribe APIs, making it better suited for some international applications.
However, the System.Windows.Forms.TextRenderer class seems to render about 25% slower than the traditional method.
You may want to try both modes and select the one that matches the appearance of other controls and forms in your application.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2