xl.format
Class UnderlineStyle

System.Object
  extended byxl.format.UnderlineStyle

public sealed class UnderlineStyle
extends System.Object

Enumeration class which contains the various underline styles available within the standard Excel UnderlineStyle palette


Field Summary
static UnderlineStyle DOUBLE
           
static UnderlineStyle DOUBLE_ACCOUNTING
           
static UnderlineStyle NO_UNDERLINE
           
static UnderlineStyle SINGLE
           
static UnderlineStyle SINGLE_ACCOUNTING
           
 
Method Summary
 System.String getDescription()
          Gets the string description for display purposes
static UnderlineStyle getStyle(int val)
          Gets the UnderlineStyle from the value
 int getValue()
          Gets the value of this style.
 
Methods inherited from class System.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_UNDERLINE

public static readonly UnderlineStyle NO_UNDERLINE

SINGLE

public static readonly UnderlineStyle SINGLE

DOUBLE

public static readonly UnderlineStyle DOUBLE

SINGLE_ACCOUNTING

public static readonly UnderlineStyle SINGLE_ACCOUNTING

DOUBLE_ACCOUNTING

public static readonly UnderlineStyle DOUBLE_ACCOUNTING
Method Detail

getValue

public int getValue()
Gets the value of this style. This is the value that is written to the generated Excel file

Returns:
the binary value

getDescription

public System.String getDescription()
Gets the string description for display purposes

Returns:
the string description

getStyle

public static UnderlineStyle getStyle(int val)
Gets the UnderlineStyle from the value

Parameters:
val -
Returns:
the UnderlineStyle with that value