public final class XmpFont extends XmpComplexType
A structure containing the characteristics of a font used in a document.
Constructor and Description |
---|
XmpFont()
Initializes a new instance of the
XmpFont class. |
XmpFont(String fontFamily)
Initializes a new instance of the
XmpFont class. |
Modifier and Type | Method and Description |
---|---|
String[] |
getChildFontFiles()
Gets the list of file names for the fonts that make up a composite font.
|
String |
getFontFace()
Gets the font face name.
|
String |
getFontFamily()
Gets the font family name.
|
String |
getFontFileName()
Gets the font file name (not a complete path).
|
String |
getFontName()
Gets the PostScript name of the font.
|
String |
getFontType()
Gets the font type.
|
String |
getVersion()
Gets the font version.
|
Boolean |
isComposite()
Gets a value indicating whether whether the font is composite.
|
void |
setChildFontFiles(String[] value)
Sets the list of file names for the fonts that make up a composite font.
|
void |
setComposite(Boolean value)
Sets a value indicating whether whether the font is composite.
|
void |
setFontFace(String value)
Sets the font face name.
|
void |
setFontFamily(String value)
Sets the font family name.
|
void |
setFontFileName(String value)
Sets the font file name (not a complete path).
|
void |
setFontName(String value)
Sets the PostScript name of the font.
|
void |
setFontType(String value)
Sets the font type.
|
void |
setVersion(String value)
Sets the font version.
|
getNamespaceUri, getNamespaceUris, getPrefixes, getXmpRepresentation, toString
addProperties, contains, findProperties, get_Item, getCount, getKeys, getKnowPropertyDescriptors, getMetadataType, getPropertyDescriptors, iterator, removeProperties, sanitize, setProperties, updateProperties
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public XmpFont()
Initializes a new instance of the XmpFont
class.
public XmpFont(String fontFamily)
Initializes a new instance of the XmpFont
class.
fontFamily
- Font family.public final String[] getChildFontFiles()
Gets the list of file names for the fonts that make up a composite font.
public final void setChildFontFiles(String[] value)
Sets the list of file names for the fonts that make up a composite font.
value
- The list of file names for the fonts that make up a composite font.public final Boolean isComposite()
Gets a value indicating whether whether the font is composite.
true
if the font is composite; otherwise, false
.public final void setComposite(Boolean value)
Sets a value indicating whether whether the font is composite.
value
- true
if the font is composite; otherwise, false
.public final String getFontFace()
Gets the font face name.
public final void setFontFace(String value)
Sets the font face name.
value
- The font face name.public final String getFontFamily()
Gets the font family name.
public final void setFontFamily(String value)
Sets the font family name.
value
- The font family name.public final String getFontFileName()
Gets the font file name (not a complete path).
public final void setFontFileName(String value)
Sets the font file name (not a complete path).
value
- The name of the font file.public final String getFontName()
Gets the PostScript name of the font.
public final void setFontName(String value)
Sets the PostScript name of the font.
value
- The PostScript name of the font.public final String getFontType()
Gets the font type.
public final void setFontType(String value)
Sets the font type.
value
- The font type.
public final String getVersion()
Gets the font version.
public final void setVersion(String value)
Sets the font version.
value
- The version.