Compartir a través de


CTFontDescriptor.WithAttributes Método

Definición

Sobrecargas

WithAttributes(NSDictionary)
WithAttributes(CTFontDescriptorAttributes)

WithAttributes(NSDictionary)

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

Parámetros

attributes
NSDictionary

Devoluciones

Se aplica a

WithAttributes(CTFontDescriptorAttributes)

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

Parámetros

Devoluciones

Comentarios

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

var newFontDescriptor = myDescriptor.WithAttributes (attributes);

Se aplica a