UIFontDescriptor.CreateWithAttributes 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
CreateWithAttributes(NSDictionary) |
Creates a new UIFontDescriptor based on adding the provided attributes to the current descriptor. |
CreateWithAttributes(UIFontAttributes) |
Creates a new UIFontDescriptor based on adding the provided attributes to the current descriptor. |
CreateWithAttributes(NSDictionary)
Creates a new UIFontDescriptor based on adding the provided attributes to the current descriptor.
[Foundation.Export("fontDescriptorByAddingAttributes:")]
public virtual UIKit.UIFontDescriptor CreateWithAttributes (Foundation.NSDictionary attributes);
abstract member CreateWithAttributes : Foundation.NSDictionary -> UIKit.UIFontDescriptor
override this.CreateWithAttributes : Foundation.NSDictionary -> UIKit.UIFontDescriptor
Parameters
- attributes
- NSDictionary
dictionary containing the attributes.
Returns
New UIFontDescriptor containing the added attributes.
- Attributes
Remarks
Use the strongly typed version instead.
This can be used from a background thread.
Applies to
CreateWithAttributes(UIFontAttributes)
Creates a new UIFontDescriptor based on adding the provided attributes to the current descriptor.
public UIKit.UIFontDescriptor CreateWithAttributes (UIKit.UIFontAttributes attributes);
member this.CreateWithAttributes : UIKit.UIFontAttributes -> UIKit.UIFontDescriptor
Parameters
- attributes
- UIFontAttributes
dictionary containing the attributes.
Returns
New UIFontDescriptor containing the added attributes.
Remarks
This can be used from a background thread.