Class Font
Tên không gian: Aspose.Imaging.Xmp.Types.Complex.Font Tổng hợp: Aspose.Imaging.dll (25.5.0)
Tác giả: XMP Font
[JsonObject(MemberSerialization.OptIn)]
public sealed class Font : ComplexTypeBase, IXmpType, ICloneableInheritance
object ← XmpTypeBase ← ComplexTypeBase ← Font
Implements
Thành viên thừa kế
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()
Bắt đầu một trường hợp mới của lớp Aspose.Imaging.Xmp.Types.Complex.Font.
[JsonConstructor]
public Font()Font(String)
Bắt đầu một trường hợp mới của lớp Aspose.Imaging.Xmp.Types.Complex.Font.
public Font(string fontFamily)Parameters
fontFamily string
Hình ảnh gia đình
Properties
ChildFontFiles
Nhận hoặc đặt hàng tên tệp cho các phông chữ tạo thành một phông chữ phức tạp.
[JsonProperty]
public string[] ChildFontFiles { get; set; }Giá trị bất động sản
string [ ]
FontFace
Nhận hoặc đặt font mặt.
[JsonProperty]
public string FontFace { get; set; }Giá trị bất động sản
FontFamily
Nhận hoặc đặt gia đình font.
[JsonProperty]
public string FontFamily { get; set; }Giá trị bất động sản
FontFileName
Nhận hoặc đặt tên tệp phông chữ mà không có con đường đầy đủ.
[JsonProperty]
public string FontFileName { get; set; }Giá trị bất động sản
FontName
Nhận hoặc đặt tên font PostScript.
[JsonProperty]
public string FontName { get; set; }Giá trị bất động sản
FontType
Nhận hoặc đặt kiểu chữ.
[JsonProperty]
public string FontType { get; set; }Giá trị bất động sản
Examples
TrueType, Type 1, Open Type, và như vậy.
IsComposite
Nhận hoặc đặt một giá trị chỉ ra liệu phông chữ này có thành phần hay không.
[JsonProperty]
public bool IsComposite { get; set; }Giá trị bất động sản
Version
Nhận hoặc đặt phiên bản font.
[JsonProperty]
public string Version { get; set; }Giá trị bất động sản
Examples
Phiên bản cho Type1 fontsnameId 5 cho Apple True Type và OpenType/CIDFontVersion cho font CIDCác dòng trống cho bitmap fonts
Methods
GetXmpRepresentation()
Nhận giá trị dòng chứa trong định dạng XMP.
public override string GetXmpRepresentation()Returns
Trả lại giá trị của string trong định dạng XMP.