ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.8 Assembly / C1.Win.C1FlexGrid Namespace / C1FlexGrid Class / UseCompatibleTextRendering Property

In This Topic
    UseCompatibleTextRendering Property (C1FlexGrid)
    In This Topic
    Specifies whether text rendering should be compatible with previous releases of WinForms.
    Syntax
    'Declaration
     
    Public Property UseCompatibleTextRendering As Boolean
    public bool UseCompatibleTextRendering {get; set;}
    Remarks

    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.

    See Also