Font Class

Summary: Represents XMP Font.

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

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

Inheritance: IXmpType, ComplexTypeBase

Aspose.PSD Version: 24.9.0

Constructors

NameDescription
Font()Initializes a new instance of the Font class.
Font(font_family)Initializes a new instance of the Font class.

Properties

NameTypeAccessDescription
child_font_filesstringr/wGets or sets the array of file names for the fonts that make up a composite font.
font_facestringr/wGets or sets the font face.
font_familystringr/wGets or sets the font family.
font_file_namestringr/wGets or sets the font file name without full path.
font_namestringr/wGets or sets the PostScript font name.
font_typestringr/wGets or sets the font type.
is_compositeboolr/wGets or sets a value indicating whether this font is composite.
namespace_uristringrGets the default namespace URI.
prefixstringrGets the prefix.
versionstringr/wGets or sets the font version.

Methods

NameDescription
get_xmp_representation()Gets the string contained value in XMP format.

Constructor: Font()

 Font() 

Initializes a new instance of the Font class.

Constructor: Font(font_family)

 Font(font_family) 

Initializes a new instance of the Font class.

Parameters:

ParameterTypeDescription
font_familystringFont family.

Method: get_xmp_representation()

 get_xmp_representation() 

Gets the string contained value in XMP format.

Returns

TypeDescription
stringReturns the string contained value in XMP format.