UIFontDescriptor.CreateWithFamily(String) 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 font family to the current descriptor.
[Foundation.Export("fontDescriptorWithFamily:")]
public virtual UIKit.UIFontDescriptor CreateWithFamily (string newFamily);
abstract member CreateWithFamily : string -> UIKit.UIFontDescriptor
override this.CreateWithFamily : string -> UIKit.UIFontDescriptor
Parameters
- newFamily
- String
New font family to use.
Returns
New UIFontDescriptor containing the added font family.
- Attributes
Remarks
This can be used from a background thread.