UIFont.WithSize(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.
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.