public final class Font extends XmpComplexType
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 array of file names for the fonts that make up a composite font.
|
String |
getFontFace()
Gets or sets font face.
|
String |
getFontFamily()
Gets or sets font family.
|
String |
getFontFileName()
Gets or sets font file name without full path.
|
String |
getFontName()
Gets or sets PostScript font name.
|
String |
getFontType()
Gets or sets font type.
|
String |
getVersion()
Gets or sets font version.
|
String |
getXmpRepresentation()
Returns string contained value in XMP format.
|
boolean |
isComposite()
Indicates whether font is composite.
|
void |
setComposite(boolean value)
Indicates whether font is composite.
|
void |
setFontFace(String value)
Gets or sets font face.
|
void |
setFontFamily(String value)
Gets or sets font family.
|
void |
setFontFileName(String value)
Gets or sets font file name without full path.
|
void |
setFontName(String value)
Gets or sets PostScript font name.
|
void |
setFontType(String value)
Gets or sets font type.
|
void |
setVersion(String value)
Gets or sets font version.
|
getNamespaceUri, getPrefix
toBool, toDateTime, toFloat, toGuid, toInt, toString, toStringArray
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 final String[] getChildFontFiles()
Gets or sets array of file names for the fonts that make up a composite font.
Value: Child font files.public final boolean isComposite()
Indicates whether font is composite.
Value:true
if font is composite; otherwise, false
.public final void setComposite(boolean value)
Indicates whether font is composite.
Value:true
if font is composite; otherwise, false
.public final String getFontFace()
Gets or sets font face.
Value: Font face.public final void setFontFace(String value)
Gets or sets font face.
Value: Font face.public final String getFontFamily()
Gets or sets font family.
Value: Font family.public final void setFontFamily(String value)
Gets or sets font family.
Value: Font family.public final String getFontFileName()
Gets or sets font file name without full path.
Value: The name of the font file.public final void setFontFileName(String value)
Gets or sets font file name without full path.
Value: The name of the font file.public final String getFontName()
Gets or sets PostScript font name.
Value: The name of the font.public final void setFontName(String value)
Gets or sets PostScript font name.
Value: The name of the font.public final String getFontType()
Gets or sets font type.
Value: Font type.public final void setFontType(String value)
Gets or sets font type.
Value: Font type.public final String getVersion()
Gets or sets font version.
Value: The version.public final void setVersion(String value)
Gets or sets font version.
Value: The version.public String getXmpRepresentation()
Returns string contained value in XMP format.
getXmpRepresentation
in interface IXmpType
getXmpRepresentation
in class XmpComplexType
string
contained XMP representation.Copyright © 2017. All rights reserved.