Grasshopper API
GH_WindowsControlUtilFixTextRenderingDefault Method (ControlControlCollection) |
Recursively sets the UseCompatibleTextRendering value to False on each control.
Namespace: Grasshopper.GUI
Assembly: Grasshopper (in Grasshopper.dll)

public static void FixTextRenderingDefault( ControlControlCollection iControls )
Public Shared Sub FixTextRenderingDefault ( iControls As ControlControlCollection )
Parameters
- iControls
- Type: System.Windows.FormsControlControlCollection

This example shows how to use this function to modify all the controls on a windows Form.
VB
Dim frm As New MyVerySpecialForm() Grasshopper.GUI.GH_WindowsControlUtil.FixTextRenderingDefault(frm.Controls) frm.Show()
