Class ExternalFontCache
Nom dels espais: Aspose.Page Assemblea: Aspose.Page.dll (25.4.0)
Utilitza aquesta classe per obtenir la encapsulació de fonts en un formulari que és acceptat per Aspose.Page.Device.
public class ExternalFontCache
Inheritance
Membres heretats
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
ExternalFontCache()
public ExternalFontCache()
Methods
CreateFontByFamilyName(Tàrrega, Float, FontStyle)
Crea System.Drawing.Font per font nom de família, estil i mida.
public static Font CreateFontByFamilyName(string familyName, float size, FontStyle style)
Parameters
familyName
string
El nom de la família.
size
float
Dimensió de font en punts (un punt és 1/72 d’inch).
style
FontStyle
Estil de font.
Returns
Retorn a l’objecte de font.
FetchDrFont(Tàrrega, Float, FontStyle)
Fets Aspose.Page.Font.DrFon per font nom de família, mida i estil.
public static DrFont FetchDrFont(string familyName, float sizePoints, FontStyle style)
Parameters
familyName
string
El nom de la família.
sizePoints
float
Dimensió de font en punts (un punt és 1/72 d’inch).
style
FontStyle
Estil de font.
Returns
Torna el DrFont