UIFontDescriptor.FromAttributes 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.
Overloads
FromAttributes(NSDictionary) |
(Weak) Creates a UIFontDescriptor using a set of attributes contained in the dictionary. |
FromAttributes(UIFontAttributes) |
Creates a UIFontDescriptor using a set of attributes contained in the dictionary. |
FromAttributes(NSDictionary)
(Weak) Creates a UIFontDescriptor using a set of attributes contained in the dictionary.
[Foundation.Export("fontDescriptorWithFontAttributes:")]
public static UIKit.UIFontDescriptor FromAttributes (Foundation.NSDictionary attributes);
static member FromAttributes : Foundation.NSDictionary -> UIKit.UIFontDescriptor
Parameters
- attributes
- NSDictionary
Weak dictionary of font attributes.
Returns
- Attributes
Remarks
This can be used from a background thread.
Applies to
FromAttributes(UIFontAttributes)
Creates a UIFontDescriptor using a set of attributes contained in the dictionary.
public static UIKit.UIFontDescriptor FromAttributes (UIKit.UIFontAttributes attributes);
static member FromAttributes : UIKit.UIFontAttributes -> UIKit.UIFontDescriptor
Parameters
- attributes
- UIFontAttributes
Weak dictionary of font attributes.
Returns
Remarks
This can be used from a background thread.