CoreText.CTFontDescriptor.GetAttribute Method
Fetches a CTFontDescriptorAttribute from the descriptor.

Syntax

public Foundation.NSObject GetAttribute (Foundation.NSString attribute)

Parameters

attribute
An NSString representing a CTFontDescriptor attribute, one of the keys in CoreText.CTFontDescriptorAttributeKey.

Returns

The attribute as an NSObject.

Remarks

You can use CTFontDescriptor.GetAttributes method to get all the attributes at once with a strongly typed set of properties.

Requirements

Namespace: CoreText
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0