Düzenle

Aracılığıyla paylaş


UIFont.WithSize(nfloat) Method

Definition

Returns a new font based on the current one, with the new specified size.

public virtual UIKit.UIFont WithSize (nfloat size);
abstract member WithSize : nfloat -> UIKit.UIFont
override this.WithSize : nfloat -> UIKit.UIFont

Parameters

size
nfloat

The new font size (in points).

Returns

The new font at the specified size.

Remarks

This can be used from a background thread.

Applies to