'宣言 Public Property UseCompatibleTextRendering As System.Boolean
public System.bool UseCompatibleTextRendering {get; set;}
'宣言 Public Property UseCompatibleTextRendering As System.Boolean
public System.bool UseCompatibleTextRendering {get; set;}
このプロパティは、コントロールが System.Drawing.Graphicsクラス(以前のバージョンと互換性あり)と新しい System.Windows.Forms.TextRendererクラス(.NET 2.0 以降で使用可能)のどちらを使用して テキストをレンダリングするかを決定します。
System.Windows.Forms.TextRendererクラスは、複雑なスクリプトおよび Uniscribe API をサポートしており、一部の国際アプリケーションに適しています。
ただし、 System.Windows.Forms.TextRendererクラスでは、従来のメソッドより 25% ほど遅くレンダリングされるようです。
両方のモードを試し、アプリケーションの他のコントロールやフォームの外観に合ったモードを選択することをお勧めします。