NSFont.GetFont(NFloat) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Export("fontWithSize:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual AppKit.NSFont GetFont(System.Runtime.InteropServices.NFloat fontSize);
[<Foundation.Export("fontWithSize:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetFont : System.Runtime.InteropServices.NFloat -> AppKit.NSFont
override this.GetFont : System.Runtime.InteropServices.NFloat -> AppKit.NSFont
Parameters
- fontSize
- NFloat
Returns
- Attributes