FontValue

Overview

FontValue is a class in Aspose.Cells FOSS for Java.

Represents a font value with its properties.

This class provides 17 methods for working with FontValue objects in Java programs. Available methods include: clone, getBold, getColor, getItalic, getName, getRawFontXml, getSize, getStrikeThrough, getUnderline, setBold, setColor, setItalic, and 5 additional methods. All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package. Properties: bold, color, italic, name, rawFontXml, size, and 2 more.

Properties

NameTypeAccessDescription
nameStringReadReturns the name.
sizedoubleReadReturns the size.
boldbooleanReadReturns the bold.
italicbooleanReadReturns the italic.
underlinebooleanReadReturns the underline.
strikeThroughbooleanReadReturns the strike through.
colorColorValueReadReturns the color.
rawFontXmlStringReadCreates a copy of this instance.

Methods

SignatureDescription
getName()StringReturns the name.
setName(name: String)Sets the name.
getSize()doubleReturns the size.
setSize(size: double)Sets the size.
getBold()booleanReturns the bold.
setBold(bold: boolean)Sets the bold.
getItalic()booleanReturns the italic.
setItalic(italic: boolean)Sets the italic.
getUnderline()booleanReturns the underline.
setUnderline(underline: boolean)Sets the underline.
getStrikeThrough()booleanReturns the strike through.
setStrikeThrough(strikeThrough: boolean)Sets the strike through.
getColor()ColorValueReturns the color.
setColor(color: ColorValue)Sets the color.
getRawFontXml()StringCreates a copy of this instance.
setRawFontXml(rawFontXml: String)Sets the raw font xml value.
clone()FontValue

See Also