|
ActiveXLS v6.4.0 API Documentation | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | CONST | CONSTR | METHOD | DETAIL: CONST | CONSTR | METHOD |
System.ObjectActiveXLS.Util.FormulaResult
This class stores the result of a formula. The result of a formula has 3 properties extends - the result itself as a string object; - the data type of the result (one of the data types from DataType class); - the number format that must be applied on the result when result is set as a value for a cell (any number format Excel recognizes).
Constructor Summary | |
FormulaResult(System.String text,
System.String dataType,
System.String numberFormat,
bool isHyperlink,
System.String linkLocation)
Defines an instance of the Excel formula result. |
Method Summary | |
System.String |
getDataType()
Returns the formula data type. |
System.String |
getLinkLocation()
Returns the link location (such as http://www.google.ro/) if the formula is a hyperlink. |
System.String |
getNumberFormat()
Returns the formula number format. |
bool |
isHyperlink()
Returns whether the formula result is a hyperlink. |
System.String |
toString()
Returns the formula result as a string. |
Constructor Detail |
public FormulaResult(System.String text, System.String dataType, System.String numberFormat, bool isHyperlink, System.String linkLocation)
text
- the value of the formula result.dataType
- the data type of the formula result. Possible values are available in DataType
class.numberFormat
- the number format of the formula result (e.g. 0.00, MM/dd/yyyy).isHyperlink
- true if the result represents a hyperlink.linkLocation
- link location (such as http://www.google.ro/) if the formula is a hyperlink.Method Detail |
public System.String toString()
public System.String getNumberFormat()
public System.String getDataType()
public bool isHyperlink()
public System.String getLinkLocation()
|
Copyright 2009 On Time Computing Solutions | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | CONST | CONSTR | METHOD | DETAIL: CONST | CONSTR | METHOD |