Class FontExtensions
Class FontExtensions
Navne til: Aspose.Imaging.Extensions Sammensætning: Aspose.Imaging.dll (25.4.0)
Det indeholder udvidelsesmetoder for Aspose.Imaging.Font klasse.
public static class FontExtensions
Inheritance
De arvede medlemmer
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Methods
ToGdiFont(Font)
Konverterer Aspose.Imaging.Font til System.Drawing.Foont.
public static Font ToGdiFont(Font font)
Parameters
font
Font
Den Aspose.Imaging.Font til at konvertere.
Returns
Den konverterede System.Drawing.Font.
ToGdiFont(Skabelon, GraphicsUnit)
Konverterer Aspose.Imaging.Font til System.Drawing.Foont.
public static Font ToGdiFont(Font font, GraphicsUnit fontUnit)
Parameters
font
Font
Den Aspose.Imaging.Font til at konvertere.
fontUnit
GraphicsUnit
Ny grafisk enhed
Returns
Den konverterede System.Drawing.Font.