Compartilhar via


CTFontDescriptor.WithAttributes Método

Definição

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

Retornos

Aplica-se a

WithAttributes(CTFontDescriptorAttributes)

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

Parâmetros

Retornos

Comentários

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

var newFontDescriptor = myDescriptor.WithAttributes (attributes);

Aplica-se a