共用方式為


CTFontDescriptorAttributes.FamilyName 屬性

定義

字型系列名稱。

public string FamilyName { get; set; }
member this.FamilyName : string with get, set

屬性值

備註

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

var fontDescriptor = new CTFontDescriptor (attributes);

適用於