UIFont.FromName(String, NFloat) Method

Definition

Creates a font of the specified size.

public static UIKit.UIFont FromName(string name, System.Runtime.InteropServices.NFloat size);
static member FromName : string * System.Runtime.InteropServices.NFloat -> UIKit.UIFont

Parameters

name
String

The name of the font to create.

size
NFloat

The size of the font to create.

Returns

Remarks

This can be used from a background thread.

Applies to