UIFontDescriptor.GetMatchingFontDescriptors 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
| Name | Description |
|---|---|
| GetMatchingFontDescriptors(NSSet) | |
| GetMatchingFontDescriptors(UIFontDescriptorAttribute[]) |
Retrieve a UIFontDescriptor with an explicit set of features. |
GetMatchingFontDescriptors(NSSet)
[Foundation.Export("matchingFontDescriptorsWithMandatoryKeys:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UIFontDescriptor[] GetMatchingFontDescriptors(Foundation.NSSet? mandatoryKeys);
[<Foundation.Export("matchingFontDescriptorsWithMandatoryKeys:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetMatchingFontDescriptors : Foundation.NSSet -> UIKit.UIFontDescriptor[]
override this.GetMatchingFontDescriptors : Foundation.NSSet -> UIKit.UIFontDescriptor[]
Parameters
- mandatoryKeys
- NSSet
Returns
- Attributes
Applies to
GetMatchingFontDescriptors(UIFontDescriptorAttribute[])
Retrieve a UIFontDescriptor with an explicit set of features.
public UIKit.UIFontDescriptor[] GetMatchingFontDescriptors(params UIKit.UIFontDescriptorAttribute[] mandatoryKeys);
member this.GetMatchingFontDescriptors : UIKit.UIFontDescriptorAttribute[] -> UIKit.UIFontDescriptor[]
Parameters
- mandatoryKeys
- UIFontDescriptorAttribute[]
The list of mandatory keys that you desire on the font descriptor.
Returns
Remarks
This can be used from a background thread.