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
GetMatchingFontDescriptors(UIFontDescriptorAttribute[]) |
Retrieve a UIFontDescriptor with an explicit set of features. |
GetMatchingFontDescriptors(NSSet) |
Retrieve a UIFontDescriptor with an explicit set of features. |
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.
Applies to
GetMatchingFontDescriptors(NSSet)
Retrieve a UIFontDescriptor with an explicit set of features.
[Foundation.Export("matchingFontDescriptorsWithMandatoryKeys:")]
public virtual UIKit.UIFontDescriptor[] GetMatchingFontDescriptors (Foundation.NSSet mandatoryKeys);
abstract member GetMatchingFontDescriptors : Foundation.NSSet -> UIKit.UIFontDescriptor[]
override this.GetMatchingFontDescriptors : Foundation.NSSet -> UIKit.UIFontDescriptor[]
Parameters
Returns
- Attributes
Remarks
This can be used from a background thread.