Grasshopper API
EtoExtensionsToEto Method (Font) |
Namespace: Grasshopper
Assembly: Grasshopper (in Grasshopper.dll)

public static Font ToEto( this Font font )
<ExtensionAttribute> Public Shared Function ToEto ( font As Font ) As Font
Parameters
- font
- Type: System.DrawingFont
Return Value
Type: FontUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Font. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).