com.spire.xls.core.spreadsheet
Class XlsFont

java.lang.Object
  extended by com.spire.xls.core.spreadsheet.XlsObject
      extended by com.spire.xls.core.spreadsheet.XlsFont
All Implemented Interfaces:
IFont, IOptimizedUpdate, java.lang.Comparable

public class XlsFont
extends XlsObject
implements IFont, java.lang.Comparable

Represents one of the 14 standard xls fonts.


Constructor Summary
XlsFont(java.lang.Object parent)
           
XlsFont(java.lang.Object parent, com.spire.ms.System.Drawing.Font font)
           
XlsFont(java.lang.Object parent, Style style)
           
 
Method Summary
 java.awt.Color getColor()
          Gets Color
 double getSize()
          Gets Size
 void setColor(java.awt.Color value)
          Sets Color
 void setSize(double size)
          Sets Size
 
Methods inherited from class com.spire.xls.core.spreadsheet.XlsObject
dispose
 
Methods inherited from interface com.spire.xls.core.IFont
generateNativeFont, getFontName, getKnownColor, getStrikethroughType, getUnderline, getVerticalAlignment, isAutoColor, isBold, isBold, isItalic, isItalic, isStrikethrough, isStrikethrough, isSubscript, isSubscript, isSuperscript, isSuperscript, setFontName, setKnownColor, setStrikethroughType, setUnderline, setVerticalAlignment
 
Methods inherited from interface com.spire.xls.core.interfacess.IOptimizedUpdate
beginUpdate, endUpdate
 

Constructor Detail

XlsFont

public XlsFont(java.lang.Object parent)

XlsFont

public XlsFont(java.lang.Object parent,
               com.spire.ms.System.Drawing.Font font)

XlsFont

public XlsFont(java.lang.Object parent,
               Style style)
Method Detail

getColor

public java.awt.Color getColor()
Gets Color

Specified by:
getColor in interface IFont

setColor

public void setColor(java.awt.Color value)
Sets Color

Specified by:
setColor in interface IFont

getSize

public double getSize()
Gets Size

Specified by:
getSize in interface IFont

setSize

public void setSize(double size)
Sets Size

Specified by:
setSize in interface IFont