GH_WindowsControlUtil
Exposes some static (Shared) utility functions for setting text-rendering properties en masse.
Methods
FixTextRenderingDefault
#public static void FixTextRenderingDefault(Control control)
Sets the UseCompatibleTextRendering value to False on the control.
Parameters:
| control (Control) |
FixTextRenderingDefault
#Recursively sets the UseCompatibleTextRendering value to False on each control.
Parameters:
| iControls (Control.ControlCollection) |
Example:This example shows how to use this function to modify all the controls on a windows Form.
Dim frm As New MyVerySpecialForm()
Grasshopper.GUI.GH_WindowsControlUtil.FixTextRenderingDefault(frm.Controls)
frm.Show()