Class Font
Represents XMP Font.
public sealed class Font : ComplexTypeBase, IXmpType
- Inheritance
-
Font
- Implements
- Inherited Members
Constructors
Font()
Initializes a new instance of the Font class.
public Font()
Font(string)
Initializes a new instance of the Font class.
public Font(string fontFamily)
Parameters
fontFamily
stringFont family.
Properties
ChildFontFiles
Gets or sets the array of file names for the fonts that make up a composite font.
public string[] ChildFontFiles { get; set; }
Property Value
- string[]
The array of file names for the fonts that make up a composite font.
FontFace
Gets or sets the font face.
public string FontFace { get; set; }
Property Value
- string
The font face.
FontFamily
Gets or sets the font family.
public string FontFamily { get; set; }
Property Value
- string
The font family.
FontFileName
Gets or sets the font file name without full path.
public string FontFileName { get; set; }
Property Value
- string
The font file name without full path.
FontName
Gets or sets the PostScript font name.
public string FontName { get; set; }
Property Value
- string
The name of PostScript font name.
FontType
Gets or sets the font type.
public string FontType { get; set; }
Property Value
- string
The font type.
Examples
TrueType, Type 1, Open Type, and so on.
IsComposite
Gets or sets a value indicating whether this font is composite.
public bool IsComposite { get; set; }
Property Value
- bool
true
if this font is composite; otherwise,false
.
Version
Gets or sets the font version.
public string Version { get; set; }
Property Value
- string
The font version.
Examples
/version for Type1 fonts nameId 5 for Apple True Type and OpenType /CIDFontVersion for CID fonts The empty string for bitmap fonts
Methods
GetXmpRepresentation()
Gets the string contained value in XMP format.
public override string GetXmpRepresentation()
Returns
- string
Returns the string contained value in XMP format.