public interface IFontFormat
Represents font attributes (for example, font name, font size, and color) for an object.
-
Method Summary
boolean
Gets the boolean property that indicates whether the represented text is bold.
boolean
Gets the boolean property that indicates whether the represented text is italicized.
Gets the font name to use for the represented text.
double
Gets the size of the font in points.
boolean
Gets the boolean property that indicates whether the represented text has a strike through it.
boolean
Gets the boolean property that indicates whether the represented text is a subscript.
boolean
Gets the boolean property that indicates whether the represented text is a superscript.
Gets the theme font in the applied font scheme that is associated with the specified object.
Gets the UnderlineStyle of the represented text.
void
Sets the boolean property that indicates whether the represented text is bold.
void
Sets the boolean property that indicates whether the represented text is italicized.
void
Sets the font name to use for the represented text.
void
Sets the size of the font in points.
void
Sets the boolean property that indicates whether the represented text has a strike through it.
void
Sets the boolean property that indicates whether the represented text is a subscript.
void
Sets the boolean property that indicates whether the represented text is a superscript.
void
Sets the theme font in the applied font scheme that is associated with the specified object.
void
Sets the UnderlineStyle of the represented text.
-
Method Details
-
getColor
Gets the color format.
-
getBold
boolean getBold()
Gets the boolean property that indicates whether the represented text is bold.
-
setBold
void setBold(boolean value)
Sets the boolean property that indicates whether the represented text is bold.
-
getItalic
boolean getItalic()
Gets the boolean property that indicates whether the represented text is italicized.
-
setItalic
void setItalic(boolean value)
Sets the boolean property that indicates whether the represented text is italicized.
-
getName
Gets the font name to use for the represented text.
-
setName
Sets the font name to use for the represented text.
-
getSize
double getSize()
Gets the size of the font in points.
-
setSize
void setSize(double value)
Sets the size of the font in points.
-
getStrikethrough
boolean getStrikethrough()
Gets the boolean property that indicates whether the represented text has a strike through it.
-
setStrikethrough
void setStrikethrough(boolean value)
Sets the boolean property that indicates whether the represented text has a strike through it.
-
getSubscript
boolean getSubscript()
Gets the boolean property that indicates whether the represented text is a subscript.
-
setSubscript
void setSubscript(boolean value)
Sets the boolean property that indicates whether the represented text is a subscript.
-
getSuperscript
boolean getSuperscript()
Gets the boolean property that indicates whether the represented text is a superscript.
-
setSuperscript
void setSuperscript(boolean value)
Sets the boolean property that indicates whether the represented text is a superscript.
-
getUnderline
Gets the UnderlineStyle of the represented text.
-
setUnderline
Sets the UnderlineStyle of the represented text.
-
getThemeFont
Gets the theme font in the applied font scheme that is associated with the specified object.
-
setThemeFont
Sets the theme font in the applied font scheme that is associated with the specified object.