Class FontDescriptor
اسم الفضاء : Aspose.Tasks.Visualization تجميع: Aspose.Tasks.dll (25.4.0)
تمثيل معلومات الخط.
public sealed class FontDescriptor
Inheritance
الأعضاء الموروثين
object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
FontDescriptor(الشريط , float)
يبدأ مثالًا جديدًا من فئة Aspose.Tasks.Visualization.FontDescriptor مع عائلة الخط المحددة وحجمها.
public FontDescriptor(string fontFamily, float size)
Parameters
fontFamily
string
اسم العائلة font.
size
float
حجم الخط .
FontDescriptor(الأسطوانة، الأسطوانة، FontStyles)
يبدأ مثالًا جديدًا من فئة Aspose.Tasks.Visualization.FontDescriptor مع عائلة الخط المحددة وحجمها وأسلوبها.
public FontDescriptor(string fontFamily, float size, FontStyles style)
Parameters
fontFamily
string
اسم العائلة font.
size
float
حجم الخط .
style
FontStyles
النمط من الخط.
FontDescriptor(أرشيف الوسم : FontStyles)
يبدأ مثالًا جديدًا من فئة Aspose.Tasks.Visualization.FontDescriptor مع الخط المحدد والنمط.
public FontDescriptor(FontDescriptor font, FontStyles style)
Parameters
font
FontDescriptor
إرسال رسالة خاصة إلى Aspose.Tasks.Visualization.FontDescriptor
style
FontStyles
النمط من الخط.
Properties
FontFamily
يحصل على اسم عائلة الخط.
public string FontFamily { get; }
قيمة الممتلكات
Size
يحصل على حجم الخط.
public float Size { get; }
قيمة الممتلكات
Style
يحصل على النمط من الخط.
public FontStyles Style { get; }