public final class Font extends ComplexTypeBase
Represents XMP Font.
Constructor and Description |
---|
Font()
Initializes a new instance of the
Font class. |
Font(String fontFamily)
Initializes a new instance of the
Font class. |
Modifier and Type | Method and Description |
---|---|
String[] |
getChildFontFiles()
Gets or sets the array of file names for the fonts that make up a composite font.
|
String |
getFontFace()
Gets or sets the font face.
|
String |
getFontFamily()
Gets or sets the font family.
|
String |
getFontFileName()
Gets or sets the font file name without full path.
|
String |
getFontName()
Gets or sets the PostScript font name.
|
String |
getFontType()
Gets or sets the font type.
|
String |
getVersion()
Gets or sets the font version.
|
String |
getXmpRepresentation()
Gets the string contained value in XMP format.
|
boolean |
isComposite()
Gets or sets a value indicating whether this font is composite.
|
void |
setChildFontFiles(String[] value)
Gets or sets the array of file names for the fonts that make up a composite font.
|
void |
setComposite(boolean value)
Gets or sets a value indicating whether this font is composite.
|
void |
setFontFace(String value)
Gets or sets the font face.
|
void |
setFontFamily(String value)
Gets or sets the font family.
|
void |
setFontFileName(String value)
Gets or sets the font file name without full path.
|
void |
setFontName(String value)
Gets or sets the PostScript font name.
|
void |
setFontType(String value)
Gets or sets the font type.
|
void |
setVersion(String value)
Gets or sets the font version.
|
getNamespaceUri, getPrefix
public Font()
Initializes a new instance of the Font
class.
public Font(String fontFamily)
Initializes a new instance of the Font
class.
fontFamily
- Font family.public String[] getChildFontFiles()
Gets or sets the array of file names for the fonts that make up a composite font.
Value: The array of file names for the fonts that make up a composite font.public void setChildFontFiles(String[] value)
Gets or sets the array of file names for the fonts that make up a composite font.
Value: The array of file names for the fonts that make up a composite font.public boolean isComposite()
Gets or sets a value indicating whether this font is composite.
Value:true
if this font is composite; otherwise, false
.public void setComposite(boolean value)
Gets or sets a value indicating whether this font is composite.
Value:true
if this font is composite; otherwise, false
.public String getFontFace()
Gets or sets the font face.
Value: The font face.public void setFontFace(String value)
Gets or sets the font face.
Value: The font face.public String getFontFamily()
Gets or sets the font family.
Value: The font family.public void setFontFamily(String value)
Gets or sets the font family.
Value: The font family.public String getFontFileName()
Gets or sets the font file name without full path.
Value: The font file name without full path.public void setFontFileName(String value)
Gets or sets the font file name without full path.
Value: The font file name without full path.public String getFontName()
Gets or sets the PostScript font name.
Value: The name of PostScript font name.public void setFontName(String value)
Gets or sets the PostScript font name.
Value: The name of PostScript font name.public String getFontType()
Gets or sets the font type.
TrueType, Type 1, Open Type, and so on. Value: The font type.public void setFontType(String value)
Gets or sets the font type.
TrueType, Type 1, Open Type, and so on. Value: The font type.public String getVersion()
Gets or sets the font version.
/version for Type1 fonts nameId 5 for Apple True Type and OpenType /CIDFontVersion for CID fonts The empty string for bitmap fonts Value: The font version.public void setVersion(String value)
Gets or sets the font version.
/version for Type1 fonts nameId 5 for Apple True Type and OpenType /CIDFontVersion for CID fonts The empty string for bitmap fonts Value: The font version.public String getXmpRepresentation()
Gets the string contained value in XMP format.
getXmpRepresentation
in interface IXmpType
getXmpRepresentation
in class ComplexTypeBase