Interop.NSFontFromFont Method (Font, Double)

InteropNSFontFromFont Method (Font, Double)

Get native NSFont* from a Rhino Font. Only works on Mac

Namespace:  Rhino.Runtime
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static IntPtr NSFontFromFont(
	Font font,
	double pointSize
)
Public Shared Function NSFontFromFont ( 
	font As Font,
	pointSize As Double
) As IntPtr

Parameters

font
Type: Rhino.DocObjectsFont

[Missing <param name="font"/> documentation for "M:Rhino.Runtime.Interop.NSFontFromFont(Rhino.DocObjects.Font,System.Double)"]

pointSize
Type: SystemDouble
Point size

Return Value

Type: IntPtr
NSFont* on success. IntPtr.Zero on failure
Version Information

Rhino for Windows

Supported in: 6.14
See Also