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.
|
add, getNamespaceUri, getPrefix
public Font()
Initializes a new instance of the Font
class.
public final 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 final 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 final boolean isComposite()
Gets or sets a value indicating whether this font is composite.
Value:true
if this font is composite; otherwise, false
.public final 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 final String getFontFace()
Gets or sets the font face.
Value: The font face.public final void setFontFace(String value)
Gets or sets the font face.
Value: The font face.public final String getFontFamily()
Gets or sets the font family.
Value: The font family.public final void setFontFamily(String value)
Gets or sets the font family.
Value: The font family.public final String getFontFileName()
Gets or sets the font file name without full path.
Value: The font file name without full path.public final void setFontFileName(String value)
Gets or sets the font file name without full path.
Value: The font file name without full path.public final String getFontName()
Gets or sets the PostScript font name.
Value: The name of PostScript font name.public final void setFontName(String value)
Gets or sets the PostScript font name.
Value: The name of PostScript font name.public final String getFontType()
Gets or sets the font type.
Value: The font type.TrueType, Type 1, Open Type, and so on.
public final void setFontType(String value)
Gets or sets the font type.
Value: The font type.TrueType, Type 1, Open Type, and so on.
public final String getVersion()
Gets or sets the font version.
Value: 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
public final void setVersion(String value)
Gets or sets the font version.
Value: 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
public String getXmpRepresentation()
Gets the string contained value in XMP format.
getXmpRepresentation
in interface IXmpType
getXmpRepresentation
in class ComplexTypeBase
Copyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.