|
ActiveXLS v6.4.0 API Documentation | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | CONST | CONSTR | METHOD | DETAIL: CONST | CONSTR | METHOD |
System.ObjectActiveXLS.ExcelArrayFormula
This class describes a formula that was array-entered into a range of cells. The range of cells in which the array is entered is defined by the firstRow, lastRow, firstCol, and lastCol fields.
Constructor Summary | |
ExcelArrayFormula()
Defines an empty instance of the array formula |
|
ExcelArrayFormula(int firstRow,
int firstCol,
int lastRow,
int colLast,
System.String sFormula)
Defines an instance of the array formula |
|
ExcelArrayFormula(System.String range,
System.String sFormula)
Defines an instance of the array formula having the specified range and formula restrictions. |
Method Summary | |
ExcelArrayFormula |
Clone()
Creates and returns a copy of this object. |
int |
getColsNumber()
Returns the number of columns in the range |
int |
getFirstColumn()
Returns the first column in the range |
int |
getFirstRow()
Returns the first row in the range |
System.String |
getFormula()
Returns the formula of the array. |
int |
getLastColumn()
Returns the last column in the range |
int |
getLastRow()
Returns the last row in the range |
int |
getRowsNumber()
Returns the number of rows in the range |
bool |
IsFirstCellInRange(int nRow,
int nCol)
Internal use only. |
void |
setFormula(System.String formula)
Sets the formula of the array. |
Constructor Detail |
public ExcelArrayFormula()
public ExcelArrayFormula(int firstRow, int firstCol, int lastRow, int colLast, System.String sFormula)
firstRow
- the first row of the range where the array formula is enteredfirstCol
- the first column of the range where the array formula is enteredlastRow
- the last row of the range where the array formula is enteredcolLast
- the last column of the range where the array formula is enteredsFormula
- the formula entered as an array; it should start with = (an equal sign) and can be any kind of formula recognized by Excelpublic ExcelArrayFormula(System.String range, System.String sFormula)
range
- the area location of the array formula. It can only be a range of cells (e.g. A1:B2).sFormula
- the formula entered as an array; it should start with = (an equal sign) and can be any kind of formula recognized by ExcelMethod Detail |
public int getFirstRow()
public int getLastRow()
public int getFirstColumn()
public int getLastColumn()
public int getRowsNumber()
public int getColsNumber()
public System.String getFormula()
setFormula(System.String)
public void setFormula(System.String formula)
formula
- the array formulagetFormula()
public bool IsFirstCellInRange(int nRow, int nCol)
nRow
- the row number of the cellnCol
- the column number of the cell
public ExcelArrayFormula Clone()
|
Copyright 2009 On Time Computing Solutions | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | CONST | CONSTR | METHOD | DETAIL: CONST | CONSTR | METHOD |