public class FontInfo
extends java.lang.Object
| Constructor and Description |
|---|
FontInfo() |
| Modifier and Type | Method and Description |
|---|---|
void |
copyFrom(FontInfo f)
Duplicates the font properties of the specified FontInfo into the instance of the FontInfo class that this method is called from.
|
boolean |
getBold()
indicates whether the font is bold.
|
boolean |
getItalic()
indicates whether the font is italic.
|
java.lang.String |
getName()
Gets the primary font name.
|
boolean |
getOverline()
indicates whether the font is overlined.
|
FontUnit |
getSize()
Gets the font size.
|
boolean |
getStrikeout()
indicates whether the font is strikethrough.
|
boolean |
getUnderline()
indicates whether the font is underlined..
|
void |
setBold(boolean value)
set whether the font is bold..
|
void |
setItalic(boolean value)
set whether the font is italic.
|
void |
setName(java.lang.String value)
or sets the primary font name
|
void |
setOverline(boolean value)
set whether the font is overlined.
|
void |
setSize(FontUnit value)
sets the font size
|
void |
setStrikeout(boolean value)
set whether the font is strikethrough.
|
void |
setUnderline(boolean value)
set whether the font is underlined.
|
java.lang.String |
toString()
Returns a string that contains the font name and size for an instance of the FontInfo class.
|
public boolean getBold()
public void setBold(boolean value)
public boolean getItalic()
public void setItalic(boolean value)
public boolean getOverline()
public void setOverline(boolean value)
public boolean getStrikeout()
public void setStrikeout(boolean value)
public boolean getUnderline()
public void setUnderline(boolean value)
public FontUnit getSize()
public void setSize(FontUnit value)
public java.lang.String getName()
public void setName(java.lang.String value)
public void copyFrom(FontInfo f)
public java.lang.String toString()
toString in class java.lang.ObjectSee Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.