GH_FontServerNewFont Method (Font, FontStyle) |
Safe font constructor.
Namespace:
Grasshopper.Kernel
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public static Font NewFont(
Font font,
FontStyle style
)
Public Shared Function NewFont (
font As Font,
style As FontStyle
) As Font
Parameters
- font
- Type: System.DrawingFont
Base font. - style
- Type: System.DrawingFontStyle
New style.
Return Value
Type:
FontSee Also