GH_FontPickerShowFontPickerWindow Method (Font, Form) |
Display the fontpicker in a window.
Namespace:
Grasshopper.GUI
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public static Font ShowFontPickerWindow(
Font font,
Form parent
)
Public Shared Function ShowFontPickerWindow (
font As Font,
parent As Form
) As Font
Parameters
- font
- Type: System.DrawingFont
Default font. - parent
- Type: System.Windows.FormsForm
Parent window.
Return Value
Type:
FontA newly picked font.
See Also