UIKit.UIFont.FromName Method
Creates a font of the specified size.

Syntax

[Foundation.Export("fontWithName:size:")]
public static UIFont FromName (string name, nfloat size)

Parameters

name
The name of the font to create.
size
The size of the font to create.

Returns

Remarks

This can be used from a background thread.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0