类 TextFormatInfo
java.lang.Object
com.grapecity.documents.excel.TextFormatInfo
Describes font and layout options for drawing text.
-
构造器概要
-
方法概要
修饰符和类型方法说明final boolean
getBold()
Gets or sets the top-level font weight for the content of the element.final String
Gets or sets a family of related fonts.final double
Gets or sets the desired font size to use in points.final boolean
Gets or sets the font style for the content of the element.final void
setBold
(boolean value) Gets or sets the top-level font weight for the content of the element.final void
setFontFamily
(String value) Gets or sets a family of related fonts.final void
setFontSize
(double value) Gets or sets the desired font size to use in points.final void
setItalic
(boolean value) Gets or sets the font style for the content of the element.
-
构造器详细资料
-
TextFormatInfo
public TextFormatInfo()
-
-
方法详细资料
-
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.
-