UIFontDescriptor.CreateWithSize(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.
Creates a new UIFontDescriptor based on setting a new font size to the current descriptor.
[Foundation.Export("fontDescriptorWithSize:")]
public virtual UIKit.UIFontDescriptor CreateWithSize (nfloat newPointSize);
abstract member CreateWithSize : nfloat -> UIKit.UIFontDescriptor
override this.CreateWithSize : nfloat -> UIKit.UIFontDescriptor
Parameters
- newPointSize
- nfloat
New desired font size for the descriptor.
Returns
New UIFontDescriptor containing the added font size.
- Attributes
Remarks
This can be used from a background thread.