Class Font
Nama dari : Aspose.Imaging.Xmp.Types.Complex.Font Pengumpulan: Aspose.Imaging.dll (25.4.0)
Ini adalah XMP Font.
[JsonObject(MemberSerialization.OptIn)]
public sealed class Font : ComplexTypeBase, IXmpType, ICloneable
Inheritance
object ← XmpTypeBase ← ComplexTypeBase ← Font
Implements
anggota yang diwarisi
ComplexTypeBase.GetXmpRepresentation() , ComplexTypeBase.Prefix , ComplexTypeBase.NamespaceUri , XmpTypeBase.GetXmpRepresentation() , XmpTypeBase.ToString() , XmpTypeBase.Clone() , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
Font()
Initifikasi contoh baru dari kelas Aspose.Imaging.Xmp.Types.Complex.Font.Font.
[JsonConstructor]
public Font()
Font(String)
Initifikasi contoh baru dari kelas Aspose.Imaging.Xmp.Types.Complex.Font.Font.
public Font(string fontFamily)
Parameters
fontFamily
string
Tuliskan Keluarga
Properties
ChildFontFiles
Dapatkan atau menetapkan rangkaian nama file untuk font yang membentuk font komposit.
[JsonProperty]
public string[] ChildFontFiles { get; set; }
Nilai Properti
string [ ]
FontFace
Mendapatkan atau menetapkan font wajah.
[JsonProperty]
public string FontFace { get; set; }
Nilai Properti
FontFamily
Dapatkan atau menetapkan keluarga fon.
[JsonProperty]
public string FontFamily { get; set; }
Nilai Properti
FontFileName
Dapatkan atau menetapkan nama file font tanpa jalur penuh.
[JsonProperty]
public string FontFileName { get; set; }
Nilai Properti
FontName
Dapatkan atau menetapkan nama font PostScript.
[JsonProperty]
public string FontName { get; set; }
Nilai Properti
FontType
Dapatkan atau menetapkan jenis font.
[JsonProperty]
public string FontType { get; set; }
Nilai Properti
Examples
TrueType, Type 1, Open Type, dan sebagainya.
IsComposite
Dapatkan atau menetapkan nilai yang menunjukkan apakah font ini komposit.
[JsonProperty]
public bool IsComposite { get; set; }
Nilai Properti
Version
Dapatkan atau menetapkan versi font.
[JsonProperty]
public string Version { get; set; }
Nilai Properti
Examples
/versi untuk Type1 fontsNama ID 5 untuk Apple True Type dan OpenType/CIDFontVersion untuk font CIDRantai kosong untuk font bitmap
Methods
GetXmpRepresentation()
Dapatkan nilai string yang terkandung dalam format XMP.
public override string GetXmpRepresentation()
Returns
Mengembalikan nilai string yang terkandung dalam format XMP.