字体类

Summary: Represents XMP Font.

Module: aspose.imaging.xmp.types.complex.font

Full Name: aspose.imaging.xmp.types.complex.font.Font

Inheritance: IXmpType, ComplexTypeBase

Constructors

Name描述
Font()初始化 Font 类的新实例。
Font(font_family)初始化 Font 类的新实例。

Properties

NameTypeAccess描述
child_font_filesstring[]r/w获取或设置组成复合字体的字体文件名数组。
font_facestringr/w获取或设置字体面。
font_familystringr/w获取或设置字体族。
font_file_namestringr/w获取或设置不含完整路径的字体文件名。
font_namestringr/w获取或设置 PostScript 字体名称。
font_typestringr/w获取或设置字体类型。
is_compositeboolr/w获取或设置一个值,指示此字体是否为复合字体。
namespace_uristringr获取默认命名空间 URI。
prefixstringr获取前缀。
版本stringr/w获取或设置字体版本。

Methods

Name描述
clone()克隆此实例。
get_xmp_representation()获取 XMP 格式中包含的字符串值。

Constructor: Font()

 Font() 

初始化 Font 类的新实例。

Constructor: Font(font_family)

 Font(font_family) 

初始化 Font 类的新实例。

Parameters:

参数TypeDescription
font_familystring字体族。

Method: clone()

 clone() 

克隆此实例。

Returns

TypeDescription
System.Object成员逐个克隆。

Method: get_xmp_representation()

 get_xmp_representation() 

获取 XMP 格式中包含的字符串值。

Returns

TypeDescription
string返回 XMP 格式中包含的字符串值。