Font Class
Contents
[
Hide
]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.12.0
Constructors
| Name | Description |
|---|---|
| Font() | Initializes a new instance of the Font class. |
| Font(font_family) | Initializes a new instance of the Font class. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| child_font_files | string | r/w | Gets or sets the array of file names for the fonts that make up a composite font. |
| font_face | string | r/w | Gets or sets the font face. |
| font_family | string | r/w | Gets or sets the font family. |
| font_file_name | string | r/w | Gets or sets the font file name without full path. |
| font_name | string | r/w | Gets or sets the PostScript font name. |
| font_type | string | r/w | Gets or sets the font type. |
| is_composite | bool | r/w | Gets or sets a value indicating whether this font is composite. |
| namespace_uri | string | r | Gets the default namespace URI. |
| prefix | string | r | Gets the prefix. |
| version | string | r/w | Gets or sets the font version. |
Methods
| Name | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| font_family | string | Font family. |
Method: get_xmp_representation()
get_xmp_representation()
Gets the string contained value in XMP format.
Returns
| Type | Description |
|---|---|
| string | Returns the string contained value in XMP format. |