Interface IFontFormat
public interface IFontFormat
Represents font attributes (for example, font name, font size, and color) for an object.
-
Method Summary
Modifier and TypeMethodDescriptionbooleangetBold()Gets the boolean property that indicates whether the represented text is bold.getColor()Gets the color format.booleanGets the boolean property that indicates whether the represented text is italicized.getName()Gets the font name to use for the represented text.doublegetSize()Gets the size of the font in points.booleanGets the boolean property that indicates whether the represented text has a strike through it.booleanGets the boolean property that indicates whether the represented text is a subscript.booleanGets 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.voidsetBold(boolean value) Sets the boolean property that indicates whether the represented text is bold.voidsetItalic(boolean value) Sets the boolean property that indicates whether the represented text is italicized.voidSets the font name to use for the represented text.voidsetSize(double value) Sets the size of the font in points.voidsetStrikethrough(boolean value) Sets the boolean property that indicates whether the represented text has a strike through it.voidsetSubscript(boolean value) Sets the boolean property that indicates whether the represented text is a subscript.voidsetSuperscript(boolean value) Sets the boolean property that indicates whether the represented text is a superscript.voidsetThemeFont(ThemeFont value) Sets the theme font in the applied font scheme that is associated with the specified object.voidsetUnderline(TextUnderlineType value) Sets the UnderlineStyle of the represented text.
-
Method Details
-
getColor
IColorFormat 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
String 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
TextUnderlineType getUnderline()Gets the UnderlineStyle of the represented text. -
setUnderline
Sets the UnderlineStyle of the represented text. -
getThemeFont
ThemeFont 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.
-