Class ExternalFontCache
Namespace: Aspose.Page
Assembly: Aspose.Page.dll (25.1.2)
Bu sınıfı, Aspose.Page.Device tarafından kabul edilen bir biçimde font kapsüllemesi elde etmek için kullanın.
public class ExternalFontCache
Miras
Miras Alınan Üyeler
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Yapıcılar
ExternalFontCache()
public ExternalFontCache()
Metotlar
CreateFontByFamilyName(string, float, FontStyle)
Font aile adı, stil ve boyutuna göre System.Drawing.Font oluşturur.
public static Font CreateFontByFamilyName(string familyName, float size, FontStyle style)
Parametreler
familyName
string
Font aile adı.
size
float
Font boyutu puan cinsinden (bir puan 1/72 inçtir).
style
FontStyle
Font stili.
Dönüş Değeri
Font nesnesini döndürür.
FetchDrFont(string, float, FontStyle)
Font aile adı, boyut ve stiline göre Aspose.Page.Font.DrFont’u alır.
public static DrFont FetchDrFont(string familyName, float sizePoints, FontStyle style)
Parametreler
familyName
string
Font aile adı.
sizePoints
float
Font boyutu puan cinsinden (bir puan 1/72 inçtir).
style
FontStyle
Font stili.
Dönüş Değeri
DrFont döndürür.