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

Syntax

public MonoMac.Foundation.NSObject GetAttribute (MonoMac.Foundation.NSString attribute)

Parameters

attribute
An NSString representing a CTFontDescriptor attribute, one of the keys in MonoMac.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: MonoMac.CoreText
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0