类 CellInfo
java.lang.Object
com.grapecity.documents.excel.CellInfo
Provide some helper functions.
-
构造器概要
-
方法概要
修饰符和类型方法说明static String
CellIndexToName
(int row, int column) Gets cell name(address) according to its row and column indexes.static int[]
CellNameToIndex
(String name) Gets cell row and column according to its name(address).static String
ColumnIndexToName
(int index) Gets column name according to column index.static int
ColumnNameToIndex
(String name) Gets column index according to column name.static Rectangle
GetRangeBoundary
(IRange range) Gets the position and size (in pixels) of the specified range.static String
RowIndexToName
(int index) Gets row name according to row index.static int
RowNameToIndex
(String name) Gets row index according to row name.
-
构造器详细资料
-
CellInfo
public CellInfo()
-
-
方法详细资料
-
RowIndexToName
Gets row name according to row index.- 参数:
index
- row index- 返回:
- the name of row
-
RowNameToIndex
Gets row index according to row name.- 参数:
name
- row name- 返回:
- the index of row
-
ColumnIndexToName
Gets column name according to column index.- 参数:
index
- column index- 返回:
- the name of column
-
ColumnNameToIndex
Gets column index according to column name.- 参数:
name
- column name- 返回:
- the index of column
-
CellIndexToName
Gets cell name(address) according to its row and column indexes.- 参数:
row
- row indexcolumn
- column index- 返回:
- the address of cell
-
CellNameToIndex
Gets cell row and column according to its name(address).- 参数:
name
- cell name- 返回:
- a array containing the converted row and column index
-
GetRangeBoundary
Gets the position and size (in pixels) of the specified range.- 参数:
range
- The range object- 返回:
- a rectangle containing the position and size of the range
-