public final class TextFontInfo extends Object
Represents the information about font. This class cannot be inherited.
| Constructor and Description |
|---|
TextFontInfo()
Initializes a new instance of the
TextFontInfo class. |
| Modifier and Type | Method and Description |
|---|---|
String |
getFamilyName()
Gets font family name
|
int |
getFontType()
Gets the type of the font.
|
String |
getPostScriptName()
Gets the PostScript name
|
int |
getScript()
Gets the script.
|
int |
getStyle()
Gets font style parsed from subfamily name
|
boolean |
getSynthetic()
Gets a value indicating whether this
FontInformation is synthetic. |
void |
setFamilyName(String value)
Gets font family name
|
void |
setFontType(int value)
Gets the type of the font.
|
void |
setPostScriptName(String value)
Gets the PostScript name
|
void |
setScript(int value)
Gets the script.
|
void |
setStyle(int value)
Gets font style parsed from subfamily name
|
void |
setSynthetic(boolean value)
Gets a value indicating whether this
FontInformation is synthetic. |
public TextFontInfo()
Initializes a new instance of the TextFontInfo class.
public final int getFontType()
Gets the type of the font.
Value: The type of the font.public final void setFontType(int value)
Gets the type of the font.
Value: The type of the font.public final int getScript()
Gets the script.
Value: The script.public final void setScript(int value)
Gets the script.
Value: The script.public final boolean getSynthetic()
Gets a value indicating whether this FontInformation is synthetic.
true if synthetic; otherwise, false.public final void setSynthetic(boolean value)
Gets a value indicating whether this FontInformation is synthetic.
true if synthetic; otherwise, false.public final String getPostScriptName()
Gets the PostScript name
Value: PostScript namepublic final void setPostScriptName(String value)
Gets the PostScript name
Value: PostScript namepublic final String getFamilyName()
Gets font family name
Value: Font family namepublic final void setFamilyName(String value)
Gets font family name
Value: Font family namepublic final int getStyle()
Gets font style parsed from subfamily name
Value: Font style parsed from subfamily namepublic final void setStyle(int value)
Gets font style parsed from subfamily name
Value: Font style parsed from subfamily nameCopyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.