Package com.grapecity.documents.excel
Class TextFormatInfo
java.lang.Object
com.grapecity.documents.excel.TextFormatInfo
Describes font and layout options for drawing text.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleangetBold()Gets or sets the top-level font weight for the content of the element.final StringGets or sets a family of related fonts.final doubleGets or sets the desired font size to use in points.final booleanGets or sets the font style for the content of the element.final voidsetBold(boolean value) Gets or sets the top-level font weight for the content of the element.final voidsetFontFamily(String value) Gets or sets a family of related fonts.final voidsetFontSize(double value) Gets or sets the desired font size to use in points.final voidsetItalic(boolean value) Gets or sets the font style for the content of the element.
-
Constructor Details
-
TextFormatInfo
public TextFormatInfo()
-
-
Method Details
-
getFontFamily
Gets or sets a family of related fonts. -
setFontFamily
Gets or sets a family of related fonts. -
getFontSize
public final double getFontSize()Gets or sets the desired font size to use in points. -
setFontSize
public final void setFontSize(double value) Gets or sets the desired font size to use in points. -
getBold
public final boolean getBold()Gets or sets the top-level font weight for the content of the element.True if font weight is bold (700). Otherwise, font weight is normal or regular (400).
-
setBold
public final void setBold(boolean value) Gets or sets the top-level font weight for the content of the element.True if font weight is bold (700). Otherwise, font weight is normal or regular (400).
-
getItalic
public final boolean getItalic()Gets or sets the font style for the content of the element.True if font style is italic. Otherwise, font style is normal.
-
setItalic
public final void setItalic(boolean value) Gets or sets the font style for the content of the element.True if font style is italic. Otherwise, font style is normal.
-