Szerkesztés

Megosztás a következőn keresztül:


CTFontDescriptor.WithAttributes Method

Definition

Overloads

WithAttributes(NSDictionary)
WithAttributes(CTFontDescriptorAttributes)

WithAttributes(NSDictionary)

public CoreText.CTFontDescriptor WithAttributes (Foundation.NSDictionary attributes);
member this.WithAttributes : Foundation.NSDictionary -> CoreText.CTFontDescriptor

Parameters

attributes
NSDictionary

Returns

Applies to

WithAttributes(CTFontDescriptorAttributes)

public CoreText.CTFontDescriptor WithAttributes (CoreText.CTFontDescriptorAttributes attributes);
member this.WithAttributes : CoreText.CTFontDescriptorAttributes -> CoreText.CTFontDescriptor

Parameters

Returns

Remarks

var attributes = new CTFontDescriptorAttributes () {
	FamilyName = "Times New Roman"
};

var newFontDescriptor = myDescriptor.WithAttributes (attributes);

Applies to